Skip to content

Commit

Permalink
WebGLRenderer: Add initRenderTarget(). (#957)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 authored May 18, 2024
1 parent a408595 commit 7a83e78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/three/src/renderers/WebGLRenderer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,8 @@ export class WebGLRenderer implements Renderer {
level?: number,
): void;

initRenderTarget(target: WebGLRenderTarget): void;

/**
* Initializes the given texture. Can be used to preload a texture rather than waiting until first render (which can cause noticeable lags due to decode and GPU upload overhead).
*
Expand Down

0 comments on commit 7a83e78

Please sign in to comment.