Texture subresource descriptor which specifies the array layer and MIP-map level range of a texture resource.
More...
#include <TextureFlags.h>
|
| std::uint32_t | baseArrayLayer = 0 |
| | Zero-based index of the first array layer. By default 0.
|
| std::uint32_t | numArrayLayers = 1 |
| | Number of array layers. By default 1.
|
| std::uint32_t | baseMipLevel = 0 |
| | MIP-map level for the sub-texture, where 0 is the base texture, and N > 0 is the N-th MIP-map level. By default 0.
|
| std::uint32_t | numMipLevels = 1 |
| | Number of MIP-map levels. By default 1.
|
Texture subresource descriptor which specifies the array layer and MIP-map level range of a texture resource.
- See also
- TextureRegion::subresource
-
TextureViewDescriptor::subresource
◆ TextureSubresource() [1/3]
| LLGL::TextureSubresource::TextureSubresource |
( |
| ) |
|
|
default |
◆ TextureSubresource() [2/3]
| LLGL::TextureSubresource::TextureSubresource |
( |
std::uint32_t | baseArrayLayer, |
|
|
std::uint32_t | baseMipLevel ) |
|
inline |
Constructor to initialize base MIP-map level and base array layer only.
◆ TextureSubresource() [3/3]
| LLGL::TextureSubresource::TextureSubresource |
( |
std::uint32_t | baseArrayLayer, |
|
|
std::uint32_t | numArrayLayers, |
|
|
std::uint32_t | baseMipLevel, |
|
|
std::uint32_t | numMipLevels ) |
|
inline |
Constructor to initialize all attributes.
◆ baseArrayLayer
| std::uint32_t LLGL::TextureSubresource::baseArrayLayer = 0 |
◆ baseMipLevel
| std::uint32_t LLGL::TextureSubresource::baseMipLevel = 0 |
MIP-map level for the sub-texture, where 0 is the base texture, and N > 0 is the N-th MIP-map level. By default 0.
- See also
- TextureDescriptor::mipLevels
◆ numArrayLayers
| std::uint32_t LLGL::TextureSubresource::numArrayLayers = 1 |
◆ numMipLevels
| std::uint32_t LLGL::TextureSubresource::numMipLevels = 1 |
The documentation for this struct was generated from the following file: