IrradianceInjectionResolution enum Lighting and environment

Resolution of the buffer screen-space irradiance injection scatters from, as a fraction of the render target. Each texel becomes one scattered sample per frame, so a coarser buffer costs proportionally less vertex work and converges proportionally slower.

Inheritance
Available extensions

Values

half → const IrradianceInjectionResolution

Half the render target on each axis.

const IrradianceInjectionResolution(2)
quarter → const IrradianceInjectionResolution

A quarter of the render target on each axis.

const IrradianceInjectionResolution(4)
eighth → const IrradianceInjectionResolution

An eighth of the render target on each axis. The default.

const IrradianceInjectionResolution(8)
sixteenth → const IrradianceInjectionResolution

A sixteenth of the render target on each axis.

const IrradianceInjectionResolution(16)

Properties

divisor → int
How far each axis of the render target is divided down.
final
hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<IrradianceInjectionResolution>
A constant List of the values in this enum, in order of their declaration.