diff options
Diffstat (limited to 'source/modules/asura-core/graphics/mesh2d.h')
-rw-r--r-- | source/modules/asura-core/graphics/mesh2d.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/source/modules/asura-core/graphics/mesh2d.h b/source/modules/asura-core/graphics/mesh2d.h index f2770e1..5330967 100644 --- a/source/modules/asura-core/graphics/mesh2d.h +++ b/source/modules/asura-core/graphics/mesh2d.h @@ -37,15 +37,14 @@ namespace AsuraEngine private: + VertexBuffer* mVBO; ///< vertex buffer + IndexBuffer* mIBO; ///< index buffer + + luaxport: + LUAX_DECL_FACTORY(Mesh2D); LUAX_DECL_METHOD(_SetVertex); - - /// - /// mesh2d dataйvertex bufferindex buffer - /// - VertexBuffer* mVBO; - IndexBuffer* mIBO; }; |