![]() |
LLGL 0.05 Beta
|
Vertex and texture format attributes structure. More...
#include <Format.h>
Public Attributes | |
| std::uint16_t | bitSize |
| Size (in bits) of the a pixel block or vertex attribute. This is 0 for invalid formats. | |
| std::uint8_t | blockWidth |
| Width of a pixel block. This is 1 for all non-compressed formats. This is 0 for invalid formats. | |
| std::uint8_t | blockHeight |
| Height of a pixel block. This is 1 for all non-compressed formats. This is 0 for invalid formats. | |
| std::uint8_t | components |
| Number of components. This is either 1, 2, 3, or 4. This is 0 for invalid formats. | |
| ImageFormat | format |
| Image pixel format. This is ignored for depth-stencil and compressed formats. | |
| DataType | dataType |
| Color component data type. This is ignored for depth-stencil and compressed formats. | |
| long | flags |
| Specifies the boolean attributes of this format descriptor. This can be bitwise OR combination of the FormatFlags entries. | |
Vertex and texture format attributes structure.
| std::uint16_t LLGL::FormatAttributes::bitSize |
Size (in bits) of the a pixel block or vertex attribute. This is 0 for invalid formats.
| std::uint8_t LLGL::FormatAttributes::blockHeight |
Height of a pixel block. This is 1 for all non-compressed formats. This is 0 for invalid formats.
| std::uint8_t LLGL::FormatAttributes::blockWidth |
Width of a pixel block. This is 1 for all non-compressed formats. This is 0 for invalid formats.
| std::uint8_t LLGL::FormatAttributes::components |
Number of components. This is either 1, 2, 3, or 4. This is 0 for invalid formats.
| DataType LLGL::FormatAttributes::dataType |
Color component data type. This is ignored for depth-stencil and compressed formats.
| long LLGL::FormatAttributes::flags |
Specifies the boolean attributes of this format descriptor. This can be bitwise OR combination of the FormatFlags entries.
| ImageFormat LLGL::FormatAttributes::format |
Image pixel format. This is ignored for depth-stencil and compressed formats.