TraceCreateStorageBuffer class final

GraphicsDevice.createBuffer for a storage buffer, or the older createStorageBuffer: a buffer compute passes read and write.

Inheritance

Constructors

TraceCreateStorageBuffer({required int id, required ByteData bytes, required bool hostReadable, int? indices})
Records the storage buffer id made holding bytes.
const

Properties

bytes → ByteData
The buffer's initial contents, copied when recorded; zeros of the buffer's length when it was made empty.
final
hashCode → int
The hash code for this object.
no setterinherited
hostReadable → bool
Whether the buffer may be read back with GraphicsDevice.readBuffer.
final
id → int
The id later events name this buffer by, among storage buffers.
final
indices → int?
The geometry id its asIndices is recorded under, or null when it was not asked to be bindable as indices — H11.
final
kind → String
The event's name in a trace file.
no setteroverride
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