pub struct D3D12TextureHandle {
pub resource: *mut c_void,
pub ready_fence: *mut c_void,
pub ready_value: u64,
}Expand description
Borrowed D3D12 resource and producer fence. Both pointers remain valid
through the owner passed to PlatformAtlas::upload_from_d3d12.
Fields§
§resource: *mut c_voidID3D12Resource, BGRA8_UNORM, RENDER_TARGET state.
ready_fence: *mut c_voidID3D12Fence signalled by the producer queue after its last write.
ready_value: u64Producer submission fence value.
Trait Implementations§
Source§impl Clone for D3D12TextureHandle
impl Clone for D3D12TextureHandle
impl Copy for D3D12TextureHandle
Source§impl Debug for D3D12TextureHandle
impl Debug for D3D12TextureHandle
impl Eq for D3D12TextureHandle
Source§impl PartialEq for D3D12TextureHandle
impl PartialEq for D3D12TextureHandle
impl StructuralPartialEq for D3D12TextureHandle
Auto Trait Implementations§
impl !Send for D3D12TextureHandle
impl !Sync for D3D12TextureHandle
impl Forget for D3D12TextureHandle
impl Freeze for D3D12TextureHandle
impl Move for D3D12TextureHandle
impl RefUnwindSafe for D3D12TextureHandle
impl Unpin for D3D12TextureHandle
impl UnsafeUnpin for D3D12TextureHandle
impl UnwindSafe for D3D12TextureHandle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more