Variable CopyToolsConst
CopyTools: {
GenerateBase64StringFromPixelData: (
pixels: ArrayBufferView,
size: ISize,
invertY?: boolean,
) => Nullable<string>;
GenerateBase64StringFromTexture: (
texture: BaseTexture,
faceIndex?: number,
level?: number,
) => Nullable<string>;
GenerateBase64StringFromTextureAsync: (
texture: BaseTexture,
faceIndex?: number,
level?: number,
) => Promise<Nullable<string>>;
} = ...
GenerateBase64StringFromPixelData: (
pixels: ArrayBufferView,
size: ISize,
invertY?: boolean,
) => Nullable<string>;
GenerateBase64StringFromTexture: (
texture: BaseTexture,
faceIndex?: number,
level?: number,
) => Nullable<string>;
GenerateBase64StringFromTextureAsync: (
texture: BaseTexture,
faceIndex?: number,
level?: number,
) => Promise<Nullable<string>>;
} = ...
Type Declaration
-
GenerateBase64StringFromPixelData: (pixels: ArrayBufferView, size: ISize, invertY?: boolean) => Nullable<string>
Transform some pixel data to a base64 string
-
GenerateBase64StringFromTexture: (texture: BaseTexture, faceIndex?: number, level?: number) => Nullable<string>
Reads the pixels stored in the webgl texture and returns them as a base64 string
-
GenerateBase64StringFromTextureAsync: (
texture: BaseTexture,
faceIndex?: number,
level?: number,
) => Promise<Nullable<string>>Reads the pixels stored in the webgl texture and returns them as a base64 string
Class used to host copy specific utilities (Back-compat)