|
0.45.0
|
#include <iBufferLayout.h>
Public Member Functions | |
| iBufferLayoutEntry ()=default | |
| iBufferLayoutEntry (iShaderDataType type, bool normalized=false) | |
| uint32_t | getComponentCount () const |
Public Attributes | |
| iShaderDataType | _type |
| uint32 | _size |
| uint32 | _offset |
| bool | _normalized |
buffer layout entry defnition
|
default |
does nothing
| igor::iBufferLayoutEntry::iBufferLayoutEntry | ( | iShaderDataType | type, |
| bool | normalized = false |
||
| ) |
init with parameters
| type | the shader data type to use |
| normalized | if true data will be normalized |
| uint32_t igor::iBufferLayoutEntry::getComponentCount | ( | ) | const |
| bool igor::iBufferLayoutEntry::_normalized |
if true data will be normalized when passed to the shader
| uint32 igor::iBufferLayoutEntry::_offset |
offset in bytes
| uint32 igor::iBufferLayoutEntry::_size |
size in bytes
| iShaderDataType igor::iBufferLayoutEntry::_type |
shader data type of this entry