FullscreenTextureRenderer
in package
Table of Contents
Properties
- $monochromeShaderProgram : ShaderProgram
- The same but in monochrome
- $shaderProgram : ShaderProgram
- Just renders a texture
Methods
- __construct() : mixed
- Constructor
- attachPass() : void
- Attaches a render pass to the pipeline
Properties
$monochromeShaderProgram
The same but in monochrome
private
ShaderProgram
$monochromeShaderProgram
$shaderProgram
Just renders a texture
private
ShaderProgram
$shaderProgram
Methods
__construct()
Constructor
public
__construct(GLState $glstate) : mixed
Parameters
- $glstate : GLState
-
The current GL state.
attachPass()
Attaches a render pass to the pipeline
public
attachPass(RenderPipeline $pipeline, RenderTargetResource $renderTarget, TextureResource $texture[, bool $monochrome = false ]) : void
Parameters
- $pipeline : RenderPipeline
- $renderTarget : RenderTargetResource
- $texture : TextureResource
- $monochrome : bool = false