TraceSetViewport class final

PassEncoder.setViewport: a PassViewport since 1.0.0-rc.1, written as the four whole numbers a ScreenRect was whenever it covers whole pixels and the whole depth range, so older traces read and newer ones of such a pass are byte for byte what they were.

Inheritance

Constructors

TraceSetViewport(int pass, PassViewport viewport)
Records viewport 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
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
viewport → PassViewport
The rectangle in pixels of the attachment, with its depth range.
final

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