The width of the renderTarget.
The height of the renderTarget.
(optional object that holds texture parameters for an auto-generated target texture and depthBuffer/stencilBuffer booleans.
Creates eventDispatcher object. It needs to be call with '.call' to add the functionality to an object.
Renders to the depth buffer. Default is true.
If set, the scene depth will be rendered to this texture. Default is null.
The height of the render target.
A rectangular area inside the render target's viewport. Fragments that are outside the area will be discarded.
Indicates whether the scissor test is active or not.
Renders to the stencil buffer. Default is false.
This texture instance holds the rendered pixels. Use it as input for further processing.
The viewport of this render target.
The width of the render target.
Adds a listener to an event type.
The type of event to listen to.
The that gets called when the event is fired.
Creates a copy of this render target.
Adopts the settings of the given render target.
Fire an event type.
Dispatches a dispose event.
Checks if listener is added to an event type.
The type of event to listen to.
The that gets called when the event is fired.
Removes a listener from an event type.
The type of the listener that gets removed.
The listener that gets removed.
Sets the size of the render target.
Generated using TypeDoc
A render target is a buffer where the video card draws pixels for a scene that is being rendered in the background.r It is used in different effects, such as applying postprocessing to a rendered image before displaying it on the screen.