@feng3d/render-api
    Preparing search index...

    Interface TextureDataSource

    纹理的数据资源。

    interface TextureDataSource {
        __type__: "TextureDataSource";
        data: ArrayBufferView;
        dataImageOrigin?: DataImageOrigin;
        dataLayout?: TextureDataLayout;
        mipLevel?: number;
        size?: TextureSize;
        textureOrigin?: TextureOrigin;
    }
    Index

    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.

    写入纹理的位置。