summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/graphics/index_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/modules/asura-core/graphics/index_buffer.h')
-rw-r--r--source/modules/asura-core/graphics/index_buffer.h38
1 files changed, 18 insertions, 20 deletions
diff --git a/source/modules/asura-core/graphics/index_buffer.h b/source/modules/asura-core/graphics/index_buffer.h
index 98e901a..538b43b 100644
--- a/source/modules/asura-core/graphics/index_buffer.h
+++ b/source/modules/asura-core/graphics/index_buffer.h
@@ -5,32 +5,30 @@
#include "gpu_buffer.h"
-namespace AsuraEngine
+namespace_begin(AsuraEngine)
+namespace_begin(Graphics)
+
+///
+///
+///
+class IndexBuffer ASURA_FINAL
+ : public AEScripting::Portable<IndexBuffer>
+ , public GPUBuffer
{
- namespace Graphics
- {
+public:
- ///
- ///
- ///
- class IndexBuffer ASURA_FINAL
- : public AEScripting::Portable<IndexBuffer>
- , public GPUBuffer
- {
- public:
+ IndexBuffer(BufferUsage usage, BufferDataType datatype, size_t size);
+ ~IndexBuffer();
- IndexBuffer(BufferUsage usage, BufferDataType datatype, size_t size);
- ~IndexBuffer();
+luaxport:
- luaxport:
+ LUAX_DECL_FACTORY(IndexBuffer);
- LUAX_DECL_FACTORY(IndexBuffer);
+ LUAX_DECL_METHOD(_New);
- LUAX_DECL_METHOD(_New);
+};
- };
-
- }
-}
+namespace_end
+namespace_end
#endif \ No newline at end of file