![]() |
Raven Engine v0.1
|
Defines the properties and intended usage of a texture. More...
#include <Texture.h>
Public Attributes | |
| u32 | Width = 1 |
| Width of the texture in pixels. | |
| u32 | Height = 1 |
| Height of the texture in pixels. | |
| ImageFormat | Format = ImageFormat::RGBA8 |
| Pixel format of the texture. | |
| ImageUsage | Usage = ImageUsage::Texture |
| Usage flags describing how the texture is used. | |
| u8 | Mips = 1 |
| Number of mipmap levels. | |
| bool | Transfer = false |
| Whether the texture supports transfer operations. | |
Defines the properties and intended usage of a texture.
Contains dimensions, pixel format, usage flags, mipmap count, and whether the texture is used for transfer operations (e.g., staging).
| ImageFormat Raven::TextureSpecification::Format = ImageFormat::RGBA8 |
Pixel format of the texture.
| u32 Raven::TextureSpecification::Height = 1 |
Height of the texture in pixels.
| u8 Raven::TextureSpecification::Mips = 1 |
Number of mipmap levels.
| bool Raven::TextureSpecification::Transfer = false |
Whether the texture supports transfer operations.
| ImageUsage Raven::TextureSpecification::Usage = ImageUsage::Texture |
Usage flags describing how the texture is used.
| u32 Raven::TextureSpecification::Width = 1 |
Width of the texture in pixels.