#include <iBufferLayout.h>
the information on how to interpret the data in a given buffer
This is based on a great idea from https://github.com/TheCherno/Hazel
◆ iBufferLayout() [1/2]
igor::iBufferLayout::iBufferLayout |
( |
| ) |
|
|
default |
◆ iBufferLayout() [2/2]
init layout with given layout elements
- Parameters
-
◆ addElement()
adds an element to the layout
- Parameters
-
element | the element to be added |
◆ getElements()
- Returns
- elements of layout
◆ getStride()
uint32_t igor::iBufferLayout::getStride |
( |
| ) |
const |
- Returns
- stride of layout configuration in byte
The documentation for this class was generated from the following files: