#include <Format.h>
Public Member Functions | |
| Semantic | getSemantic () const |
| Dimension | getDimension () const |
| bool | isCompressed () const |
| Type | getType () const |
| bool | isNormalized () const |
| bool | isInteger () const |
| uint8 | getScalarCount () const |
| uint32 | getSize () const |
| const glm::ivec2 & | getTile () const |
| uint8 | getLocationCount () const |
| uint8 | getLocationScalarCount () const |
| uint32 | getLocationSize () const |
Element is a simple 16bit value that contains everything we need to know about an element of a buffer, a pixel of a texture, a varying input/output or uniform from a shader pipeline. Type and dimension of the element, and semantic
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
For 3x3 and 4x4 matrices it also returns (1, 1).
|
inline |
Type::INT32.
|
inline |
true if it's a compressed texture format.
|
inline |
true for integer types. false for other types, including normalized integers.
|
inline |
For normalized types full range of the integer value is mapped to 0...1 floating point for unsigned integers and -1...1 for signed integer types.
true for normalized integer types.