|
CeresEngine 0.2.0
A game development framework
|
Image region structure: Subresource (MIP-map level and array layer range), offset, and extent. More...
#include <CeresEngine/RenderAPI/GPUImage.hpp>
Static Public Member Functions | |
| template<typename Processor > | |
| static constexpr void | reflect (Processor &&RTTI) |
| Executes the given processor for every field of the struct. | |
Public Attributes | |
| GPUImageSubresource | subresource |
| Specifies the image subresource, i.e. | |
| TOffset3< UInt32 > | offset = {0, 0, 0} |
| Zero-based offset within the image data. | |
| TExtent3< UInt32 > | extent = {0, 0, 0} |
| Extent of the sub image region. | |
Friends | |
| bool | operator== (const GPUImageRegion &lhs, const GPUImageRegion &rhs) |
| bool | operator!= (const GPUImageRegion &lhs, const GPUImageRegion &rhs) |
Image region structure: Subresource (MIP-map level and array layer range), offset, and extent.
|
inlinestaticconstexpr |
Executes the given processor for every field of the struct.
| RTTI | The processor to be ran for every field. |
|
friend |
|
friend |
| TExtent3<UInt32> CeresEngine::GPUImageRegion::extent = {0, 0, 0} |
Extent of the sub image region.
| TOffset3<UInt32> CeresEngine::GPUImageRegion::offset = {0, 0, 0} |
Zero-based offset within the image data.
| GPUImageSubresource CeresEngine::GPUImageRegion::subresource |
Specifies the image subresource, i.e.
MIP-map level and array layer range. By default only the first MIP-map level and first array layer is addressed.
numMipLevels of the ImageSubresource structure must always be 1, i.e. image regions can only select a single MIP-map at a time.