Skip to content

Documentation / device / TextureMipmapData

Interface: TextureMipmapData

Defined in: libs/device/src/gpuobject.ts:1046

A data structure that holds the texture data of all mipmap levels

Properties

width

width: number

Defined in: libs/device/src/gpuobject.ts:1048

Texture width of mipmap level 0


height

height: number

Defined in: libs/device/src/gpuobject.ts:1050

Texture height of mipmap level 0


depth

depth: number

Defined in: libs/device/src/gpuobject.ts:1052

Texture depth of mipmap level 0


isCubemap

isCubemap: boolean

Defined in: libs/device/src/gpuobject.ts:1054

true if it holds texture data for cube texture


isVolume

isVolume: boolean

Defined in: libs/device/src/gpuobject.ts:1056

true if it holds texture data for 3d texture


isArray

isArray: boolean

Defined in: libs/device/src/gpuobject.ts:1058

true if it holds texture array


isCompressed

isCompressed: boolean

Defined in: libs/device/src/gpuobject.ts:1060

true if the texture data are in compressed format


arraySize

arraySize: number

Defined in: libs/device/src/gpuobject.ts:1062

The array size if it holds texture data for array texture


mipLevels

mipLevels: number

Defined in: libs/device/src/gpuobject.ts:1064

How many mipmap levels in the texture data


format

format: TextureFormat

Defined in: libs/device/src/gpuobject.ts:1066

The texture format


mipDatas

mipDatas: TextureMipmapLevelData[][]

Defined in: libs/device/src/gpuobject.ts:1068

The mipmap level datas

Released under the MIT License.