@animech-public/playcanvas
Version:
PlayCanvas WebGL game engine
24 lines (23 loc) • 721 B
TypeScript
/**
* A WebGL implementation of the Texture.
*
* @ignore
*/
export class WebglTexture {
_glTexture: any;
_glTarget: any;
_glFormat: any;
_glInternalFormat: any;
_glPixelType: any;
_glCreated: any;
dirtyParameterFlags: number;
destroy(device: any): void;
loseContext(): void;
propertyChanged(flag: any): void;
initialize(device: any, texture: any): void;
/**
* @param {import('./webgl-graphics-device.js').WebglGraphicsDevice} device - The device.
* @param {import('../texture.js').Texture} texture - The texture to update.
*/
upload(device: import("./webgl-graphics-device.js").WebglGraphicsDevice, texture: import("../texture.js").Texture): void;
}