diff options
author | chai <chaifix@163.com> | 2019-08-04 17:19:51 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-08-04 17:19:51 +0800 |
commit | 7638df1ed1f0f314d78bd42e0aba084ba14ade0a (patch) | |
tree | d27bfdebae13e750307520232d5e003a140518a6 /source/modules/asura-core/Graphics/GPUBuffer.h | |
parent | bad78945ceba425f6a80e3b8dca2414d592970eb (diff) |
*misc
Diffstat (limited to 'source/modules/asura-core/Graphics/GPUBuffer.h')
-rw-r--r-- | source/modules/asura-core/Graphics/GPUBuffer.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/source/modules/asura-core/Graphics/GPUBuffer.h b/source/modules/asura-core/Graphics/GPUBuffer.h index bb40055..0aa3c29 100644 --- a/source/modules/asura-core/Graphics/GPUBuffer.h +++ b/source/modules/asura-core/Graphics/GPUBuffer.h @@ -31,8 +31,7 @@ enum BufferDataType }; /// -/// VRAM壬ֶ㻺vboebo֣ÿζڴԴϴݡframeworkrenderers -/// +/// VRAM壬ֶ㻺vboebo֣ÿζڴԴϴݡframeworkrenderersй /// ASURA_ABSTRACT class GPUBuffer { @@ -62,10 +61,9 @@ private: GLenum m_Target; GLuint m_Buffer; - /// openglԴ滺岢ûж͵ҪֻglVertexAttribPointerʱָdrawcall ʱݸ - /// ʼַʹbufferȡඥݣԲͬͿԱһbufferСΪ˱ - /// ӿڵļ࣬ڳʼbufferʱָͣڱ͵һ£Բͬ - /// ͷͬbuffer + /// openglԴ滺岢ûж͵ҪֻglVertexAttribPointerʱָdrawcall ʱݸ + /// ʼַʹbufferȡඥݣԲͬͿԱһbufferСΪ˱ֽӿڵļ࣬ + /// ʼbufferʱָͣڱ͵һ£Բͬͷͬbuffer GLenum m_DataType; GLuint m_Usage; |