![]() |
Raven Engine v0.1
|
Describes the properties required to create or configure an Image2D resource. More...
#include <Image.h>
Public Attributes | |
| u32 | Width = 1 |
| Width of the image in pixels. | |
| u32 | Height = 1 |
| Height of the image in pixels. | |
| ImageFormat | Format |
| Pixel format of the image (e.g. RGBA8, Depth32, etc.) | |
| ImageUsage | Usage = ImageUsage::ColorAttachment |
| Intended usage flags for the image (render target, texture, etc.) | |
| u8 | Layers = 1 |
| Number of layers (for array textures or cubemaps) | |
| u8 | Mips = 1 |
| Number of mipmap levels. | |
| bool | Transfer = false |
| Whether this image will be used as a transfer source/destination. | |
Describes the properties required to create or configure an Image2D resource.
| ImageFormat Raven::ImageSpecification::Format |
Pixel format of the image (e.g. RGBA8, Depth32, etc.)
| u32 Raven::ImageSpecification::Height = 1 |
Height of the image in pixels.
| u8 Raven::ImageSpecification::Layers = 1 |
Number of layers (for array textures or cubemaps)
| u8 Raven::ImageSpecification::Mips = 1 |
Number of mipmap levels.
| bool Raven::ImageSpecification::Transfer = false |
Whether this image will be used as a transfer source/destination.
| ImageUsage Raven::ImageSpecification::Usage = ImageUsage::ColorAttachment |
Intended usage flags for the image (render target, texture, etc.)
| u32 Raven::ImageSpecification::Width = 1 |
Width of the image in pixels.