DeferredLightPass
extends RenderPass
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- Constructor
- execute() : void
- Executes the render pass
- name() : string
- Returns the name of the render pass, if not overriden this will return the class name.
- setup() : void
- Executes the render pass
Properties
$lightingShader
private
ShaderProgram
$lightingShader
$sun
private
DirectionalLightComponent
$sun
Methods
__construct()
Constructor
public
__construct(ShaderProgram $lightingShader, DirectionalLightComponent $sun) : mixed
Parameters
- $lightingShader : ShaderProgram
- $sun : DirectionalLightComponent
execute()
Executes the render pass
public
execute(PipelineContainer $data, PipelineResources $resources) : void
Parameters
- $data : PipelineContainer
- $resources : PipelineResources
name()
Returns the name of the render pass, if not overriden this will return the class name.
public
name() : string
Return values
stringsetup()
Executes the render pass
public
setup(RenderPipeline $pipeline, PipelineContainer $data) : void
Parameters
- $pipeline : RenderPipeline
- $data : PipelineContainer