From 866e00474be3bfe0e7dac73b720af0b9ebf7109a Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 13 Apr 2019 20:15:07 +0800 Subject: *misc --- source/modules/asura-core/graphics/index_buffer.h | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'source/modules/asura-core/graphics/index_buffer.h') diff --git a/source/modules/asura-core/graphics/index_buffer.h b/source/modules/asura-core/graphics/index_buffer.h index e69de29..5fca0ea 100644 --- a/source/modules/asura-core/graphics/index_buffer.h +++ b/source/modules/asura-core/graphics/index_buffer.h @@ -0,0 +1,33 @@ +#ifndef __ASURA_INDEX_BUFFER_H__ +#define __ASURA_INDEX_BUFFER_H__ + +#include + +#include "gpu_buffer.h" + +namespace AsuraEngine +{ + namespace Graphics + { + + class IndexBuffer ASURA_FINAL + : public AEScripting::Portable + , public GPUBuffer + { + public: + + IndexBuffer(BufferUsage usage, BufferDataType datatype, size_t size); + ~IndexBuffer(); + + private: + + LUAX_DECL_FACTORY(IndexBuffer); + + LUAX_DECL_METHOD(_New); + + }; + + } +} + +#endif \ No newline at end of file -- cgit v1.1-26-g67d0