Module wgpu_core::track::buffer

source Β·
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§

Enums§

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 πŸ”’ βš