|
CeresEngine 0.2.0
A game development framework
|
#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. | |
| GPUImageUsage | usage = GPUImageUsageFlags::Sample |
| A mask of possible usages for the image. | |
| GPUMemoryProperties | memoryProperty = GPUMemoryProperty::DeviceLocal |
| The image memory properties. | |
| Format | format = Format::RGBA8UNorm |
Hardware image format. By default Format::RGBA8UNorm. | |
| TExtent3< UInt32 > | extent = {1, 1, 1} |
| Image extent. | |
| UInt32 | arrayLayers = 1 |
| Number of array layers. | |
| UInt32 | mipLevels = 1 |
| Number of MIP-map levels. | |
| UInt32 | samples = 1 |
| Number of samples per texel. | |
| GPUImageLayout | initialLayout = GPUImageLayout::DontCare |
| The layout the image should be initially created at. | |
| String | name |
| A user-facing name for the image. This is only used for debugging. | |
Friends | |
| bool | operator== (const GPUImageDescriptor &lhs, const GPUImageDescriptor &rhs) |
| bool | operator!= (const GPUImageDescriptor &lhs, const GPUImageDescriptor &rhs) |
|
inlinestaticconstexpr |
Executes the given processor for every field of the struct.
| RTTI | The processor to be ran for every field. |
|
friend |
|
friend |
| UInt32 CeresEngine::GPUImageDescriptor::arrayLayers = 1 |
Number of array layers.
By default 1.
X+ direction has index offset 0.X- direction has index offset 1.Y+ direction has index offset 2.Y- direction has index offset 3.Z+ direction has index offset 4.Z- direction has index offset 5. | TExtent3<UInt32> CeresEngine::GPUImageDescriptor::extent = {1, 1, 1} |
Image extent.
By default (1, 1, 1).
| Format CeresEngine::GPUImageDescriptor::format = Format::RGBA8UNorm |
Hardware image format. By default Format::RGBA8UNorm.
| GPUImageLayout CeresEngine::GPUImageDescriptor::initialLayout = GPUImageLayout::DontCare |
The layout the image should be initially created at.
| GPUMemoryProperties CeresEngine::GPUImageDescriptor::memoryProperty = GPUMemoryProperty::DeviceLocal |
The image memory properties.
| UInt32 CeresEngine::GPUImageDescriptor::mipLevels = 1 |
Number of MIP-map levels.
By default 1.
| String CeresEngine::GPUImageDescriptor::name |
A user-facing name for the image. This is only used for debugging.
| UInt32 CeresEngine::GPUImageDescriptor::samples = 1 |
Number of samples per texel.
By default 1.
image2DMS and image2DMSArray). The equivalent member for graphics pipeline states is MultiSamplingDescriptor::samples. | GPUImageType CeresEngine::GPUImageDescriptor::type = GPUImageType::Image2D |
Hardware image type. By default ImageType::Image2D.
| GPUImageUsage CeresEngine::GPUImageDescriptor::usage = GPUImageUsageFlags::Sample |
A mask of possible usages for the image.