struct
TextureInformation
Information about a Texture.
Public
Fields
Name
String Name
Optional name of the texture.
Used primarily for easier debugging.
MipMapCount
u32 MipMapCount
Number of mip-maps the texture has.
This number excludes the full resolution map.
Usage
TextureUsageFlags Usage
Describes how the caller plans on using the texture in the pipeline.
UseHardwareSRGB
bool UseHardwareSRGB
If true the texture data is assumed to be in SRGB space and will be converted back to linear space when sampled on GPU.
SampleCount
u32 SampleCount
Number of samples per pixel.
Set to 1 or 0 to use the default of a single sample per pixel.
ArraySliceCount
u32 ArraySliceCount
Number of texture slices to create if creating a texture array.
Ignored for 3D textures.