![]() |
0.8.1 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_srgb (format Format) |
| Evaluate whether a format stores sRGB color space values. | |
| 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.
1.8.10