![]() |
LLGL 0.05 Beta
|
Memory footprint structure for texture subresources. More...
#include <TextureFlags.h>
Public Attributes | |
| std::uint64_t | size = 0 |
| Total size (in bytes) of the texture subresource. | |
| std::uint32_t | rowAlignment = 0 |
| Alignment (in bytes) for each row. Minimum alignment a renderer must return for a texture is 1. | |
| std::uint32_t | rowSize = 0 |
| Size (in bytes) of each row in the texture subresource. | |
| std::uint32_t | rowStride = 0 |
| Stride (in bytes) of each row in the texture subresource. This is aligned to rowAlignment. | |
| std::uint32_t | layerSize = 0 |
| Size (in bytes) of each layer in the texture subresource. For 3D textures, this counts as a depth layer. | |
| std::uint32_t | layerStride = 0 |
| Stride (in bytes) for each layer. For 3D textures, this counts as depth layer. | |
Memory footprint structure for texture subresources.
| std::uint32_t LLGL::SubresourceFootprint::layerSize = 0 |
Size (in bytes) of each layer in the texture subresource. For 3D textures, this counts as a depth layer.
| std::uint32_t LLGL::SubresourceFootprint::layerStride = 0 |
Stride (in bytes) for each layer. For 3D textures, this counts as depth layer.
| std::uint32_t LLGL::SubresourceFootprint::rowAlignment = 0 |
Alignment (in bytes) for each row. Minimum alignment a renderer must return for a texture is 1.
| std::uint32_t LLGL::SubresourceFootprint::rowSize = 0 |
Size (in bytes) of each row in the texture subresource.
| std::uint32_t LLGL::SubresourceFootprint::rowStride = 0 |
Stride (in bytes) of each row in the texture subresource. This is aligned to rowAlignment.
| std::uint64_t LLGL::SubresourceFootprint::size = 0 |
Total size (in bytes) of the texture subresource.