Spaces:
Running
Running
File size: 1,050 Bytes
2b7aae2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | import { WebGLExtensions } from './WebGLExtensions';
import { WebGLState } from './WebGLState';
import { WebGLProperties } from './WebGLProperties';
import { WebGLCapabilities } from './WebGLCapabilities';
import { WebGLUtils } from './WebGLUtils';
import { WebGLInfo } from './WebGLInfo';
export class WebGLTextures {
constructor(
gl: WebGLRenderingContext,
extensions: WebGLExtensions,
state: WebGLState,
properties: WebGLProperties,
capabilities: WebGLCapabilities,
utils: WebGLUtils,
info: WebGLInfo
);
allocateTextureUnit(): void;
resetTextureUnits(): void;
setTexture2D(texture: any, slot: number): void;
setTexture2DArray(texture: any, slot: number): void;
setTexture3D(texture: any, slot: number): void;
setTextureCube(texture: any, slot: number): void;
setupRenderTarget(renderTarget: any): void;
updateRenderTargetMipmap(renderTarget: any): void;
updateMultisampleRenderTarget(renderTarget: any): void;
safeSetTexture2D(texture: any, slot: number): void;
safeSetTextureCube(texture: any, slot: number): void;
}
|