Skip to content

Commit

Permalink
EXRExporter: implements support for DataTexture export (#616)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 authored Sep 28, 2023
1 parent 54f4edc commit 2c26d05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion types/three/examples/jsm/exporters/EXRExporter.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* https://www.openexr.com/documentation/openexrfilelayout.pdf
*/

import { WebGLRenderer, WebGLRenderTarget, TextureDataType } from '../../../src/Three.js';
import { DataTexture, TextureDataType, WebGLRenderer, WebGLRenderTarget } from '../../../src/Three.js';

export const NO_COMPRESSION: 0;
export const ZIPS_COMPRESSION: 2;
Expand All @@ -18,4 +18,5 @@ export interface EXRExporterParseOptions {

export class EXRExporter {
parse(renderer: WebGLRenderer, renderTarget: WebGLRenderTarget, options?: EXRExporterParseOptions): Uint8Array;
parse(dataTexture: DataTexture, options?: EXRExporterParseOptions): Uint8Array;
}

0 comments on commit 2c26d05

Please sign in to comment.