#include <VertexBufferLayout.h>
Definition at line 8 of file VertexBufferLayout.h.
◆ GetSizeOfType()
| static unsigned int VertexBufferElement::GetSizeOfType |
( |
unsigned int | type | ) |
|
|
inlinestatic |
Definition at line 14 of file VertexBufferLayout.h.
15 {
17 {
18 case GL_FLOAT:
19 return 4;
20 case GL_UNSIGNED_INT:
21 return 4;
22 case GL_UNSIGNED_BYTE:
23 return 1;
24 }
26 return 0;
27 }
◆ count
| unsigned int VertexBufferElement::count |
◆ normalized
| unsigned char VertexBufferElement::normalized |
◆ type
| unsigned int VertexBufferElement::type |
The documentation for this struct was generated from the following file: