|
@@ -2,7 +2,7 @@ import { Vector4 } from './../math/Vector4';
|
|
|
import { Texture } from './../textures/Texture';
|
|
|
import { DepthTexture } from './../textures/DepthTexture';
|
|
|
import { EventDispatcher } from './../core/EventDispatcher';
|
|
|
-import { Wrapping, TextureFilter, TextureDataType } from '../constants';
|
|
|
+import { Wrapping, TextureFilter, TextureDataType, TextureEncoding } from '../constants';
|
|
|
|
|
|
export interface WebGLRenderTargetOptions {
|
|
|
wrapS?: Wrapping;
|
|
@@ -16,6 +16,7 @@ export interface WebGLRenderTargetOptions {
|
|
|
stencilBuffer?: boolean; // true;
|
|
|
generateMipmaps?: boolean; // true;
|
|
|
depthTexture?: DepthTexture;
|
|
|
+ encoding?: TextureEncoding;
|
|
|
}
|
|
|
|
|
|
export class WebGLRenderTarget extends EventDispatcher {
|