Skip to main content
GPass -> BaseGPass 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: 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
Last modified on July 18, 2026