VISU - PHP Game Framework

FullscreenQuadPass extends RenderPass
in package

Table of Contents

Properties

$extraUniforms  : array<string, mixed>
An array of extra uniforms to be set on the shader
$shouldBlend  : bool
Should the pass blend with the existing content of the render target?
$textureUniformName  : string
The name of the texture unform in the shader
$appliedTexture  : TextureResource
$renderTargetRes  : RenderTargetResource
$shader  : ShaderProgram

Methods

__construct()  : void
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

$extraUniforms

An array of extra uniforms to be set on the shader

public array<string, mixed> $extraUniforms = []

$shouldBlend

Should the pass blend with the existing content of the render target?

public bool $shouldBlend = false

$textureUniformName

The name of the texture unform in the shader

public string $textureUniformName = 'u_texture'

Methods

name()

Returns the name of the render pass, if not overriden this will return the class name.

public name() : string
Return values
string

        
On this page

Search results