TraceSetScissor class final

PassEncoder.setScissor: the rectangle draws are clipped to.

Inheritance

Constructors

TraceSetScissor(int pass, ScreenRect rect)
Records the scissor rect set on pass pass.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
kind → String
The event's name in a trace file.
no setteroverride
pass → int
The pass the event belongs to, by the number its beginRenderPass was recorded under.
finalinherited
rect → ScreenRect
The scissor rectangle, in pixels of the attachment.
final
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
toJson(TraceBlobWriter blob) → Map<String, Object?>
Returns the event as the JSON object a trace file holds, without its kind key, with every byte payload handed to blob and written as the reference it returns.
override
toString() → String
A string representation of this object.
inherited

Operators

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