A description of a texture.

Variables

@:optionaloptionallabel:Null<String>

An optional label to apply to the texture.

This can be useful for debugging and performance analysis.

size:Extent3D

The size of the texture.

arrayLayerCount:Int

The array layer count.

mipLevelCount:Int

The mip level count.

sampleCount:Int

The sample count.

dimension:TextureDimension

The texture dimension.

format:TextureFormat

The texture format.

usage:TextureUsage

All possible ways the texture can be used.