summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/graphics/index_buffer.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-04-13 20:15:07 +0800
committerchai <chaifix@163.com>2019-04-13 20:15:07 +0800
commit866e00474be3bfe0e7dac73b720af0b9ebf7109a (patch)
tree36c44e99352e2d582b4f2f1dbd4e9e672a54f2cf /source/modules/asura-core/graphics/index_buffer.cpp
parentb5b43bac50ad58949e70bcd1a34b1e6c4765fd51 (diff)
*misc
Diffstat (limited to 'source/modules/asura-core/graphics/index_buffer.cpp')
-rw-r--r--source/modules/asura-core/graphics/index_buffer.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/source/modules/asura-core/graphics/index_buffer.cpp b/source/modules/asura-core/graphics/index_buffer.cpp
index e69de29..fd0295d 100644
--- a/source/modules/asura-core/graphics/index_buffer.cpp
+++ b/source/modules/asura-core/graphics/index_buffer.cpp
@@ -0,0 +1,18 @@
+#include "index_buffer.h"
+
+namespace AsuraEngine
+{
+ namespace Graphics
+ {
+
+ IndexBuffer::IndexBuffer(BufferUsage usage, BufferDataType datatype, size_t size)
+ : GPUBuffer(BUFFER_TYPE_INDEX, usage, datatype, size)
+ {
+ }
+
+ IndexBuffer::~IndexBuffer()
+ {
+ }
+
+ }
+}