RenderContext
in package
Table of Contents
Properties
- $compensation : float
- Also named lag or deltaTime, this represents where we are inbetween frames and is used to interpolate motion for smooth visuals even with inconsistant frame rates.
- $data : PipelineContainer
- Rendering Pipline data container, used to store data between systems and render passes
- $pipeline : RenderPipeline
- Rendering pipeline instance used to render the scene
- $resources : PipelineResources
- Rendering pipeline resources, used to store resources between systems and render passes
Methods
- __construct() : mixed
- Constructor
Properties
$compensation read-only
Also named lag or deltaTime, this represents where we are inbetween frames and is used to interpolate motion for smooth visuals even with inconsistant frame rates.
public
float
$compensation
$data read-only
Rendering Pipline data container, used to store data between systems and render passes
public
PipelineContainer
$data
$pipeline read-only
Rendering pipeline instance used to render the scene
public
RenderPipeline
$pipeline
$resources read-only
Rendering pipeline resources, used to store resources between systems and render passes
public
PipelineResources
$resources
Methods
__construct()
Constructor
public
__construct(RenderPipeline $pipeline, PipelineContainer $data, PipelineResources $resources[, float $compensation = 0.0 ]) : mixed
Parameters
- $pipeline : RenderPipeline
- $data : PipelineContainer
- $resources : PipelineResources
- $compensation : float = 0.0