TextureType type() const noexcept
Retrieve the type of the texture.
TextureType
Describes the type of texture, such as albedo, normal, roughness, or font atlas.
uint32_t height() const
Retrieves the height of the texture.
Texture(uint32_t width, uint32_t height, TextureType type=TextureType::Albedo)
Constructs a Texture object with the specified width and height.
std::vector< uint8_t > _pixels
The corresponding pixel data for this texture, stored as a vector of bytes (RGBA format).
uint32_t width() const
Retrieves the width of the texture.