RenderPass
in package
AbstractYes
Table of Contents
Methods
- execute() : void
- This method is called to execute the render pass, actual rendering should happen here.
- name() : string
- Returns the name of the render pass, if not overriden this will return the class name.
- setup() : void
- Build / Setup the render pass
Methods
execute()
This method is called to execute the render pass, actual rendering should happen here.
public
abstract execute(PipelineContainer $data, PipelineResources $resources) : void
This is where you issue draw calls to the GPU.
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()
Build / Setup the render pass
public
abstract setup(RenderPipeline $pipeline, PipelineContainer $data) : void
In this step the pass should declare its in and outputs and allocate resources.
Parameters
- $pipeline : RenderPipeline
- $data : PipelineContainer