/*---------------------------------------------------------------------------* Project: NintendoWare File: gfx_ResParticleShape.h Copyright (C)2009-2010 Nintendo Co., Ltd./HAL Laboratory, Inc. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo of America Inc. and/or Nintendo Company Ltd., and are protected by Federal copyright law. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. $Revision: 19618 $ *---------------------------------------------------------------------------*/ #ifndef NW_GFX_RESPARTICLESHAPE_H_ #define NW_GFX_RESPARTICLESHAPE_H_ #include #include #include #include #include namespace nw { namespace gfx { namespace res { //! @details :private struct ResParticleShapeData : public ResShapeData { nw::ut::ResS32 m_VertexAttributesTableCount; nw::ut::Offset toVertexAttributesTable; }; //-------------------------------------------------------------------------- //! @brief パーティクルシェイプを表すバイナリリソースクラスです。 //-------------------------------------------------------------------------- class ResParticleShape : public ResShape { public: enum { TYPE_INFO = NW_GFX_RES_TYPE_INFO(ResParticleShape) }; enum { SIGNATURE = NW_RES_SIGNATURE32('PSHP') }; NW_RES_CTOR_INHERIT( ResParticleShape, ResShape ) NW_RES_FIELD_CLASS_LIST_DECL( ResVertexAttribute, VertexAttributes ) // GetVertexAttributes(int idx), GetVertexAttributesCount() void Setup(); }; } // namespace res } // namespace gfx } // namespace nw #endif // NW_GFX_RESPARTICLESHAPE_H_