summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/graphics/gpu_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/modules/asura-core/graphics/gpu_buffer.h')
-rw-r--r--source/modules/asura-core/graphics/gpu_buffer.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/modules/asura-core/graphics/gpu_buffer.h b/source/modules/asura-core/graphics/gpu_buffer.h
index f759c16..09c5476 100644
--- a/source/modules/asura-core/graphics/gpu_buffer.h
+++ b/source/modules/asura-core/graphics/gpu_buffer.h
@@ -61,20 +61,20 @@ namespace AsuraEngine
GLenum ConvertBufferUsage(BufferUsage type);
GLenum ConvertBufferDataType(BufferDataType type);
- GLenum mTarget;
- GLuint mBuffer;
+ GLenum m_Target;
+ GLuint m_Buffer;
///
/// openglԴ滺岢ûж͵ҪֻglVertexAttribPointerʱָ
/// drawcall ʱݸʼַʹbufferȡඥݣԲͬ
/// ԱһbufferСΪ˱ֽӿڵļ࣬ڳʼbufferʱָ
/// ͣڱ͵һ£Բͬͷͬbuffer
///
- GLenum mDataType;
- GLuint mUsage;
- uint mSize;
+ GLenum m_DataType;
+ GLuint m_Usage;
+ uint m_Size;
#if ASURA_DEBUG
- byte* mData;
+ byte* m_Data;
#endif
luaxport: