Interface TextureDescriptor

Hierarchy

  • TextureDescriptor

Properties

dimension?: TextureDimension

Textue dimension. Defaults to D2.

format?: TextureFormat

Format of the texture. Defaults to RGBA8.

mipLevelCount?: number

The number of mipmap levels. Defaults to 1.

sampleCount?: number

The number of samples for MSAA render targets. Defaults to 1.

size?: Extent3D

Size of texture. Defaults to [1, 1, 1].

usage?: TextureUsage

Specifies the usage of the texture. Defaults to TextureBinding.

Generated using TypeDoc