summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/graphics/gpu_buffer.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-07-30 22:08:14 +0800
committerchai <chaifix@163.com>2019-07-30 22:08:14 +0800
commit51a715ffe0b138960846e9f407a1290037931b33 (patch)
tree55c21cef5ffa5005a8c4c2a9602773ab479e8d0b /source/modules/asura-core/graphics/gpu_buffer.h
parentecd7883521cbde02f4f1a6b23a7b3b601c32dbef (diff)
*修改成员变量前缀
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: