Texture region structure: Subresource (MIP-map level and array layer range), offset, and extent.
More...
#include <TextureFlags.h>
|
| TextureSubresource | subresource |
| | Specifies the texture subresource, i.e. MIP-map level and array layer range. By default only the first MIP-map level and first array layer is addressed.
|
| Offset3D | offset |
| | Zero-based offset within the texture data.
|
| Extent3D | extent |
| | Extent of the sub texture region.
|
◆ TextureRegion() [1/3]
| LLGL::TextureRegion::TextureRegion |
( |
| ) |
|
|
default |
◆ TextureRegion() [2/3]
| LLGL::TextureRegion::TextureRegion |
( |
const Offset3D & | offset, |
|
|
const Extent3D & | extent ) |
|
inline |
Constructor to initialize offset and extent only.
◆ TextureRegion() [3/3]
Constructor to initialize all members.
◆ extent
◆ offset
Zero-based offset within the texture data.
◆ subresource
Specifies the texture subresource, i.e. MIP-map level and array layer range. By default only the first MIP-map level and first array layer is addressed.
- See also
- TextureSubresource::numMipLevels
The documentation for this struct was generated from the following file: