Rendering Pipelines
BaseGPass
Abstract base class which contains most of the basic common implementation for most passes.
When developing a new pass, it’s recommended to extend this class rather then implementing the GPass
interface directly.
BaseGPAss
implements almosts all GPass members however the render
function is declared as abstract
so extending implementations will need to implement it themselves
Methods
applyLayer
Implementation for applying object layers. Provided for extending types.
Returns: void
clear
Implementation for clearing render targets. Provided for extending types.
Parameters:
- renderer: The hosting
WebGLRenderer
Returns: void
enableLayer
Enabled/disables specific object layers on the pass.
Parameters:
- layer: The ObjectLayers to enable/disable
- value: The value to enable/disable the layer
Returns: void