|
Just™ Game Engine
|
#include <vertex_array.hpp>
Public Types | |
| enum class | DataType { Float , Float2 , Float3 , Float4 , Int , Int2 , Int3 , Int4 , UInt , UInt2 , UInt3 , UInt4 , UInt4x8 } |
Public Member Functions | |
| LayoutElement (DataType inType, const char *inName, bool inPassAsFloat=false, bool inNormalized=false) | |
Static Public Member Functions | |
| static size_t | dataTypeToSize (DataType type) |
Public Attributes | |
| std::string | name |
| DataType | type |
| size_t | size |
| uintptr_t | offset |
| bool | passAsFloat |
| bool | normalized |
|
strong |
| jng::LayoutElement::LayoutElement | ( | DataType | inType, |
| const char * | inName, | ||
| bool | inPassAsFloat = false, |
||
| bool | inNormalized = false |
||
| ) |
|
static |
| std::string jng::LayoutElement::name |
| bool jng::LayoutElement::normalized |
| uintptr_t jng::LayoutElement::offset |
| bool jng::LayoutElement::passAsFloat |
| size_t jng::LayoutElement::size |
| DataType jng::LayoutElement::type |