violet
Simple, cross-platform graphics API
Loading...
Searching...
No Matches
violet::CreateTextureDesc Struct Reference

Public Attributes

int width {0}
 
int height {0}
 
int channels {0}
 
void * data {nullptr}
 
size_t array_layers {2}
 number of layers if dimension is D2Array
 
TextureDimension dimension {TextureDimension::D2}
 
TextureFormat format {TextureFormat::RGBA8Unorm}
 
size_t len {0}
 

The documentation for this struct was generated from the following file: