Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WebGLMultipleRenderTargets

A special render target that enables a fragment shader to write to several textures. This approach is useful for advanced rendering techniques like post-processing or deferred rendering. Heads up: WebGLMultipleRenderTargets can only be used with a WebGL 2 rendering context.

Hierarchy

Index

Constructors

constructor

Properties

Readonly isWebGLMultipleRenderTargets

isWebGLMultipleRenderTargets: true

texture

texture: I3JS.Texture[]

The texture property is overwritten in WebGLMultipleRenderTargets and replaced with an array. This array holds the texture references of the respective render targets. WebGLRenderTarget properties are available on this class.

Methods

addEventListener

clone

copy

dispatchEvent

  • dispatchEvent(event: Event): void

dispose

  • dispose(): void

hasEventListener

removeEventListener

setSize

setTexture

Generated using TypeDoc