OROCHI
 
Loading...
Searching...
No Matches
GxUnitModelDynamic.h
Go to the documentation of this file.
1//===========================================================================
9//===========================================================================
10#pragma once
11
12GX_SHADER_NAMESPACE_BEGIN()
13
14//===========================================================================
16//===========================================================================
18{
19 //-----------------------------------------------------------
21 //-----------------------------------------------------------
23protected:
26 {
27 f32 _position[3];
28 f32 _normal[3];
29 f32 _tangent[3];
30 f32 _binormal[3];
32 f32 _uv[2];
33 };
35 static const GxRenderVertexElement VERTEX_ELEMENTS[];
36public:
37 // RTTI定義
38 GX_RTTI_CLASS_NAME(GxUnitModelDynamic, GxUnitModel, "動的モデル")
39 // ClassBaseReference継承クラス用禁止宣言
41
43 //-----------------------------------------------------------
45 //-----------------------------------------------------------
47public:
50
52 //-----------------------------------------------------------
54 //-----------------------------------------------------------
56protected:
58 b32 createMesh(u32 vertexCount, const GxVertexElement* pVertexBuffer, u32 indexCount, const u16* pIndexBuffer);
59
61};
62
63GX_SHADER_NAMESPACE_END()
#define GX_PROHIBIT_CLASS_BASE_REFERENCE(__CLASS__)
GxClassBaseReference継承の禁止宣言(new以外の生成禁止 + コピー禁止)
Definition GxBase.h:244
動的モデルユニット
Definition GxUnitModelDynamic.h:18
モデルクラス
Definition GxUnitModel.h:19
Definition GxColor.h:21
頂点宣言に使用する、頂点要素を定義するための構造体
Definition GxRenderVertexDeclaration.h:125
頂点要素構造体
Definition GxUnitModelDynamic.h:26
GxColor _color
Definition GxUnitModelDynamic.h:31
32bitブーリアン
Definition GxDefine.h:173