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