cubos::core::gl::Texture2DDesc struct

Describes a 2D texture.

Public variables

const void* data
Optional initial texture data.
std::size_t mipLevelCount
Number of mip levels.
std::size_t width
Texture width.
std::size_t height
Texture height.
Usage usage
Texture usage mode.
TextureFormat format
Texture format.