Texture Descriptor
data class TextureDescriptor(val size: Size3D, val format: TextureFormat, val usage: Set<TextureUsage>, val mipLevelCount: GPUIntegerCoordinate, val sampleCount: GPUSize32, val dimension: TextureDimension = TextureDimension.TwoD, val viewFormats: List<TextureFormat> = listOf(), val label: String? = null)
See also
https
://www.w3.org/TR/webgpu/#gputexturedescriptor
Constructors
Link copied to clipboard
constructor(size: Size3D, format: TextureFormat, usage: Set<TextureUsage>, mipLevelCount: GPUIntegerCoordinate, sampleCount: GPUSize32, dimension: TextureDimension = TextureDimension.TwoD, viewFormats: List<TextureFormat> = listOf(), label: String? = null)