![]() |
Faro Engine 0.0.0.b519570 (main)
|
Describes a graphics format. More...
#include <GraphicsFormat.hpp>
Public Member Functions | |
| GraphicsFormat () | |
| GraphicsFormat (GraphicsFormatElements elements, GraphicsFormatElementType elementType, GraphicsFormatElementLayout elementLayout) | |
| uint8 | GetElementCount () |
| Get the amount of elements/channels in this format. | |
| uint8 | GetStride () |
| Get the size of 1 format instance. | |
Public Attributes | |
| GraphicsFormatElements | elements = FE_Unknown |
| GraphicsFormatElementType | elementType = FET_Unknown |
| GraphicsFormatElementLayout | elementLayout = FEL_Unknown |
| bool | linear = true |
Static Public Attributes | |
| static GraphicsFormat | Byte = { FE_R, FET_UNorm, FEL_8 } |
| static GraphicsFormat | Byte2 = { FE_RG, FET_UNorm, FEL_8_8 } |
| static GraphicsFormat | Byte4 = { FE_RGBA, FET_UNorm, FEL_8_8_8_8 } |
| static GraphicsFormat | Float = { FE_R, FET_Float, FEL_32 } |
| static GraphicsFormat | Float2 = { FE_RG, FET_Float, FEL_32_32 } |
| static GraphicsFormat | Float3 = { FE_RGB, FET_Float, FEL_32_32_32 } |
| static GraphicsFormat | Float4 = { FE_RGBA, FET_Float, FEL_32_32_32_32 } |
Describes a graphics format.
|
inline |
|
inline |
| uint8 Faro::GraphicsFormat::GetElementCount | ( | ) |
Get the amount of elements/channels in this format.
| uint8 Faro::GraphicsFormat::GetStride | ( | ) |
Get the size of 1 format instance.
|
static |
|
static |
|
static |
| GraphicsFormatElementLayout Faro::GraphicsFormat::elementLayout = FEL_Unknown |
| GraphicsFormatElements Faro::GraphicsFormat::elements = FE_Unknown |
| GraphicsFormatElementType Faro::GraphicsFormat::elementType = FET_Unknown |
|
static |
|
static |
|
static |
|
static |
| bool Faro::GraphicsFormat::linear = true |