Explorar el Código

feat: 添加代码解释

nicetry12138 hace 1 año
padre
commit
5822677e15
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      图形学/OpenGL学习/README.md

+ 1 - 0
图形学/OpenGL学习/README.md

@@ -1068,3 +1068,4 @@ void VertexArray::AddBuffer(const VertexBuffer& vb, const VertexBufferLayout& la
 }
 ```
 
+> offset 就是一个属性 (例:RGBA) 的大小,通过 offset 计算属性的地址偏移