@awayjs/stage
Version:
Stage for AwayJS
17 lines • 568 B
TypeScript
import { SamplerState } from '../base/SamplerState';
import { ContextWebGL } from './ContextWebGL';
export declare class TextureBaseWebGL {
static TEXTURE_ID: number;
textureType: string;
_gl: WebGLRenderingContext | WebGL2RenderingContext;
_glTexture: WebGLTexture;
readonly _state: SamplerState;
private _id;
protected _context: ContextWebGL;
get id(): number;
constructor(context: ContextWebGL);
dispose(): void;
get glTexture(): WebGLTexture;
generateMipmaps(): void;
}
//# sourceMappingURL=TextureBaseWebGL.d.ts.map