#include <Buffer.hpp>
|
std::string | name |
| Name of this element.
|
|
ShaderDataType | type |
|
uint32_t | offset |
| Offset of component in the vertex.
|
|
uint32_t | size |
| Size of the datatype element.
|
|
bool | normalized |
|
An element in a VertexBuffer's layout
- See also
- VertexBuffer
◆ BufferElement()
Engine::BufferElement::BufferElement |
( |
ShaderDataType |
type, |
|
|
const std::string & |
name, |
|
|
bool |
norm = false |
|
) |
| |
|
inline |
Creates a new buffer element
- Parameters
-
type | the type of element |
name | name of the element |
norm | if this data is normalized |
◆ type
The documentation for this struct was generated from the following file: