|
CeresEngine 0.2.0
A game development framework
|
A structure that describes properties of an texture. More...
#include <CeresEngine/Texture/Texture.hpp>
Public Attributes | |
| TextureType | type = TextureType::Texture2D |
| Hardware texture type. By default TextureType::Texture2D. | |
| Format | format = Format::RGBA8UNorm |
Hardware texture format. By default Format::RGBA8UNorm. | |
| TExtent3< UInt32 > | extent = {1, 1, 1} |
| Texture extent. | |
| UInt32 | arrayLayers = 1 |
| Number of array layers. | |
| UInt32 | mipLevels = 1 |
| Number of MIP-map levels. By default 1. | |
A structure that describes properties of an texture.
| UInt32 CeresEngine::TextureProperties::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::TextureProperties::extent = {1, 1, 1} |
Texture extent.
By default (1, 1, 1).
| Format CeresEngine::TextureProperties::format = Format::RGBA8UNorm |
Hardware texture format. By default Format::RGBA8UNorm.
| UInt32 CeresEngine::TextureProperties::mipLevels = 1 |
Number of MIP-map levels. By default 1.
| TextureType CeresEngine::TextureProperties::type = TextureType::Texture2D |
Hardware texture type. By default TextureType::Texture2D.