Skip to content

Commit

Permalink
fix: add missing samples parameter of WebGLRenderTarget (#222)
Browse files Browse the repository at this point in the history
I forgot to add this in my last PR: ac2358f
  • Loading branch information
0b5vr authored May 23, 2022
1 parent 6caaa2a commit 52e8c66
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions types/three/src/renderers/WebGLRenderTarget.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ export interface WebGLRenderTargetOptions {
generateMipmaps?: boolean | undefined; // true;
depthTexture?: DepthTexture | undefined;
encoding?: TextureEncoding | undefined;

/**
* Defines the count of MSAA samples. Can only be used with WebGL 2. Default is **0**.
* @default 0
*/
samples?: number;
}

export class WebGLRenderTarget extends EventDispatcher {
Expand Down

0 comments on commit 52e8c66

Please sign in to comment.