Interface TextureDataSource

纹理的数据资源。

Hierarchy

  • TextureDataSource

Properties

__type__: "TextureDataSource"

数据类型。

data: ArrayBufferView

纹理数据。

dataImageOrigin?: DataImageOrigin

读取数据图片上的像素坐标。

dataLayout?: TextureDataLayout

Layout of the content in data.

纹理数据布局。

mipLevel?: number

写入mipmap级别。

默认为 0。

Extents of the content to write from source to destination.

写入尺寸。

textureOrigin?: TextureOrigin

Defines the origin of the copy - the minimum corner of the texture sub-region to copy to/from. Together with copySize, defines the full copy sub-region.

写入纹理的位置。

Generated using TypeDoc