ResourceDesc class final

What a node is asking for when it writes a resource.

Constructors

ResourceDesc({required ResourceId id, required TextureFormat format, ResourceSize size = const FrameFraction(), int sampleCount = 1, StorageMode storageMode = StorageMode.devicePrivate})
const

Properties

format TextureFormat
final
hashCode int
The hash code for this object.
no setterinherited
id ResourceId
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleCount int
final
size ResourceSize
final
storageMode StorageMode
deviceTransient is tile memory: cheaper, and unreadable afterwards. A resource another node declares a read on must not be transient, and FrameResources.declare now refuses one that is.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(int frameWidth, int frameHeight) RenderTargetSpec
toString() String
A string representation of this object.
inherited

Operators

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