跳到主要内容

GLTextureDescriptor

Ploy3D / GLTextureDescriptor

Interface: GLTextureDescriptor

GL贴图描述。

Table of contents

Properties

Properties

dimension

Readonly dimension: "2d" | "3d"

贴图维度。


format

Readonly format: GLTextureFormat

贴图格式。


label

Readonly label: string

描述标签。


mipLevelCount

Readonly mipLevelCount: number

贴图LOD级别数。


sampleCount

Readonly sampleCount: number

贴图采样次数。


size

Readonly size: number[]

贴图三维尺寸。


usage

Readonly usage: number

贴图用法标志。