M3DofPass class

Depth of Field (DOF) post-processing pass

Constructors

M3DofPass([String keyRt = 'dof'])
Initialize with render target key

Properties

bokehRadius ↔ double
getter/setter pair
focusDistance ↔ double
DOF settings
getter/setter pair
focusRange ↔ double
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
renderEngine → M3RenderEngine
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
texture → M3Texture
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(M3Texture srcColorTex, M3Texture depthTex, {required double near, required double far, double? focusDistance, double? focusRange, double? bokehRadius, bool toDefaultFramebuffer = false}) → void
Run DOF pass reading srcColorTex and depthTex
toString() → String
A string representation of this object.
inherited

Operators

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