Expand description
Buffer Trackers
Buffers are represented by a single state for the whole resource, a 16 bit bitflag of buffer usages. Because there is only ever one subresource, they have no selector.
Structs§
- BufferBindGroupState πStores a bind groupβs buffers + their usages (within the bind group).
- BufferTracker πStores all buffer state within a command buffer.
- BufferUsageScope πStores all buffer state within a single usage scope.
- DeviceBufferTracker πStores all buffer state within a device.
Enums§
- BufferStateProvider πSource of Buffer State.
Functions§
- barrier π β
- insert π β
- insert_or_barrier_update π βIf the resource isnβt tracked
- insert_or_merge π βDoes an insertion operation if the index isnβt tracked in the current metadata, otherwise merges the given state with the current state. If the merging would cause a conflict, returns that usage conflict.
- merge π β
- update π β