wgpu_core::track

Function invalid_resource_state

source
fn invalid_resource_state<T: ResourceUses>(state: T) -> bool
Expand description

Returns true if the given states violates the usage scope rule of any(inclusive) XOR one(exclusive)