@awayjs/stage
Version:
Stage for AwayJS
14 lines • 699 B
TypeScript
import { ICubeTexture } from '../base/ICubeTexture';
import { TextureBaseWebGL } from './TextureBaseWebGL';
import { ContextWebGL } from './ContextWebGL';
export declare class CubeTextureWebGL extends TextureBaseWebGL implements ICubeTexture {
private _textureSelectorDictionary;
textureType: string;
private _size;
constructor(context: ContextWebGL, size: number);
uploadFromArray(array: Uint8Array | Array<number>, side: number, miplevel?: number, premultiplied?: boolean): void;
uploadCompressedTextureFromArray(array: Uint8Array, offset: number, async?: boolean): void;
get size(): number;
generateMipmaps(): void;
}
//# sourceMappingURL=CubeTextureWebGL.d.ts.map