0.8.2 API documentation
|
Include to use the format enum and query properties of formats. More...
Go to the source code of this file.
Namespaces | |
gli | |
Namespace where all the classes and functions provided by GLI are exposed. | |
Enumerations | |
enum | format |
Texture data format. | |
enum | swizzle |
Represent the source of a channel. | |
Functions | |
ivec3 | block_extent (format Format) |
Return the dimensions in texels of the block for a format. | |
size_t | block_size (format Format) |
Return the size in bytes of a block for a format. | |
size_t | component_count (format Format) |
Return the number of components of a format. | |
bool | is_channel (swizzle Swizzle) |
Determine whether the Swizzle value represent a channel. | |
bool | is_compressed (format Format) |
Evaluate whether a format is compressed. | |
bool | is_float (format Format) |
Evaluate whether the format is an float format. | |
bool | is_integer (format Format) |
Evaluate whether the format is an integer format. | |
bool | is_normalized (format Format) |
Evaluate whether the format is normalized. | |
bool | is_packed (format Format) |
Evaluate whether the format is packed. | |
bool | is_s3tc_compressed (format Format) |
Evaluate whether a format is compressed with an S3TC algorithm. | |
bool | is_signed (format Format) |
Evaluate whether a format is signed. | |
bool | is_signed_integer (format Format) |
Evaluate whether the format is a signed integer format. | |
bool | is_snorm (format Format) |
Evaluate whether the format is a signed normalized format. | |
bool | is_srgb (format Format) |
Evaluate whether a format stores sRGB color space values. | |
bool | is_unorm (format Format) |
Evaluate whether the format is an unsigned normalized format. | |
bool | is_unsigned (format Format) |
Evaluate whether a format is unsigned. | |
bool | is_unsigned_integer (format Format) |
Evaluate whether the format is an unsigned integer format. | |
bool | is_valid (format Format) |
Evaluate whether a format value is value or not. | |
Include to use the format enum and query properties of formats.
Definition in file format.hpp.