PassState class final

A pass's rasteriser state. Unset fields are not emitted.

Constructors

PassState({ScreenRect? viewport, ScreenRect? scissor, PrimitiveType? primitiveType, PolygonMode? polygonMode, CullMode? cullMode, WindingOrder? windingOrder, Object? blend = _unsetBlend, int blendAttachment = 0, bool? depthWrite, CompareFunction? depthCompare})
const

Properties

blend BlendState?
What blending to set, when setsBlend. Null with setsBlend means off.
final
blendAttachment int
final
cullMode CullMode?
final
depthCompare CompareFunction?
final
depthWrite bool?
final
hashCode int
The hash code for this object.
no setteroverride
polygonMode PolygonMode?
final
primitiveType PrimitiveType?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scissor ScreenRect?
final
setsBlend bool
Whether blending is mentioned at all. False leaves the pass's alone.
final
viewport ScreenRect?
final
windingOrder WindingOrder?
final

Methods

copyWith({ScreenRect? viewport, ScreenRect? scissor, PrimitiveType? primitiveType, PolygonMode? polygonMode, CullMode? cullMode, WindingOrder? windingOrder, Object? blend = _unsetBlend, int? blendAttachment, bool? depthWrite, CompareFunction? depthCompare}) PassState
This state with some fields replaced.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override