|
CeresEngine 0.2.0
A game development framework
|
Image location structure: MIP-map level and offset. 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 | |
| TOffset3< UInt32 > | offset = {0, 0, 0} |
| Zero-based offset within the image data. | |
| UInt32 | arrayLayer = 0 |
| Zero-based array layer index. | |
| UInt32 | mipLevel = 0 |
| MIP-map level for the sub-image, where 0 is the base image, and N > 0 is the N-th MIP-map level. | |
Friends | |
| bool | operator== (const GPUImageLocation &lhs, const GPUImageLocation &rhs) |
| bool | operator!= (const GPUImageLocation &lhs, const GPUImageLocation &rhs) |
Image location structure: MIP-map level and offset.
|
inlinestaticconstexpr |
Executes the given processor for every field of the struct.
| RTTI | The processor to be ran for every field. |
|
friend |
|
friend |
| UInt32 CeresEngine::GPUImageLocation::arrayLayer = 0 |
Zero-based array layer index.
| UInt32 CeresEngine::GPUImageLocation::mipLevel = 0 |
MIP-map level for the sub-image, where 0 is the base image, and N > 0 is the N-th MIP-map level.
By default 0.
| TOffset3<UInt32> CeresEngine::GPUImageLocation::offset = {0, 0, 0} |
Zero-based offset within the image data.