|
CeresEngine 0.2.0
A game development framework
|
Image view descriptor structure. 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 | |
| GPUImageType | type = GPUImageType::Image2D |
| Hardware image type. By default ImageType::Image2D. | |
| Format | format = Format::Undefined |
| Hardware image format. | |
| GPUImageSubresource | subresource |
| Specifies the image subresource, i.e. | |
| GPUImageSwizzleRGBA | swizzle |
| Specifies the color component mapping. | |
| String | name |
| A user-facing name for the image view. | |
Friends | |
| bool | operator== (const GPUImageViewDescriptor &lhs, const GPUImageViewDescriptor &rhs) |
| bool | operator!= (const GPUImageViewDescriptor &lhs, const GPUImageViewDescriptor &rhs) |
Image view descriptor structure.
|
inlinestaticconstexpr |
Executes the given processor for every field of the struct.
| RTTI | The processor to be ran for every field. |
|
friend |
|
friend |
| Format CeresEngine::GPUImageViewDescriptor::format = Format::Undefined |
Hardware image format.
By default Format::Undefined. \remaks If set to Undefined, the system will try to deduce a sane value for the format based on the origin image.
| String CeresEngine::GPUImageViewDescriptor::name |
A user-facing name for the image view.
This is only used for debugging.
| GPUImageSubresource CeresEngine::GPUImageViewDescriptor::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.
| GPUImageSwizzleRGBA CeresEngine::GPUImageViewDescriptor::swizzle |
Specifies the color component mapping.
Each component is mapped to its identity by default.
| GPUImageType CeresEngine::GPUImageViewDescriptor::type = GPUImageType::Image2D |
Hardware image type. By default ImageType::Image2D.