EquirectangularToCubeGenerator.d.ts 513 B

123456789101112131415161718192021222324
  1. import {
  2. PixelFormat,
  3. Texture,
  4. TextureDataType,
  5. WebGLRenderer
  6. } from '../../../src/Three';
  7. export interface EquirectangularToCubeGeneratorOptions {
  8. resolution?: number;
  9. format?: PixelFormat;
  10. type?: TextureDataType;
  11. }
  12. export class EquirectangularToCubeGenerator {
  13. constructor( sourceTexture: Texture, options?: EquirectangularToCubeGeneratorOptions );
  14. sourceTexture: Texture;
  15. resolution: number;
  16. renderTarget: WebGLRenderTargetCube;
  17. dispose(): void;
  18. update( renderer: WebGLRenderer ): Texture;
  19. }