Struct d3d12::ResourceBarrier
source · pub struct ResourceBarrier(/* private fields */);
Implementations§
source§impl ResourceBarrier
impl ResourceBarrier
pub fn transition( resource: Resource, subresource: Subresource, state_before: D3D12_RESOURCE_STATES, state_after: D3D12_RESOURCE_STATES, flags: D3D12_RESOURCE_BARRIER_FLAGS, ) -> Self
Auto Trait Implementations§
impl Freeze for ResourceBarrier
impl RefUnwindSafe for ResourceBarrier
impl Send for ResourceBarrier
impl Sync for ResourceBarrier
impl Unpin for ResourceBarrier
impl UnwindSafe for ResourceBarrier
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more