VISU - PHP Game Framework

SSAOQuality
in package

Table of Contents

Properties

$bias  : float
$blurScale  : float
$name  : string
$radius  : float
$sampleCount  : int
$scale  : float
$strength  : float

Methods

__construct()  : mixed
custom()  : self
Create a custom quality configuration
high()  : self
High quality preset
low()  : self
Low quality preset
medium()  : self
Medium quality preset
ultra()  : self
Ultra quality preset
with()  : self
Create a quality configuration based on this one with modified parameters

Properties

Methods

__construct()

public __construct(float $radius, float $bias, float $strength, float $scale, float $blurScale, int $sampleCount, string $name) : mixed
Parameters
$radius : float
$bias : float
$strength : float
$scale : float
$blurScale : float
$sampleCount : int
$name : string

custom()

Create a custom quality configuration

public static custom([float $radius = 0.5 ][, float $bias = 0.025 ][, float $strength = 5.0 ][, float $scale = 1.0 ][, float $blurScale = 1.0 ][, int $sampleCount = 32 ]) : self
Parameters
$radius : float = 0.5
$bias : float = 0.025
$strength : float = 5.0
$scale : float = 1.0
$blurScale : float = 1.0
$sampleCount : int = 32
Return values
self

high()

High quality preset

public static high() : self
Return values
self

low()

Low quality preset

public static low() : self
Return values
self

medium()

Medium quality preset

public static medium() : self
Return values
self

ultra()

Ultra quality preset

public static ultra() : self
Return values
self

with()

Create a quality configuration based on this one with modified parameters

public with([float|null $radius = null ][, float|null $bias = null ][, float|null $strength = null ][, float|null $scale = null ][, float|null $blurScale = null ][, int|null $sampleCount = null ][, string|null $name = null ]) : self
Parameters
$radius : float|null = null
$bias : float|null = null
$strength : float|null = null
$scale : float|null = null
$blurScale : float|null = null
$sampleCount : int|null = null
$name : string|null = null
Return values
self

        
On this page

Search results