Struct mltg_bindings::Windows::Win32::Graphics::Direct3D12::ID3D12Resource1 [−][src]
#[repr(transparent)]pub struct ID3D12Resource1(_);
Implementations
pub unsafe fn GetPrivateData(
&self,
guid: *const Guid,
pdatasize: *mut u32,
pdata: *mut c_void
) -> HRESULT
[src]pub unsafe fn SetPrivateData(
&self,
guid: *const Guid,
datasize: u32,
pdata: *const c_void
) -> HRESULT
[src]pub unsafe fn SetPrivateDataInterface<'a>(
&self,
guid: *const Guid,
pdata: impl IntoParam<'a, IUnknown>
) -> HRESULT
[src]pub unsafe fn Map(
&self,
subresource: u32,
preadrange: *const D3D12_RANGE,
ppdata: *mut *mut c_void
) -> HRESULT
[src]pub unsafe fn WriteToSubresource(
&self,
dstsubresource: u32,
pdstbox: *const D3D12_BOX,
psrcdata: *const c_void,
srcrowpitch: u32,
srcdepthpitch: u32
) -> HRESULT
[src]pub unsafe fn ReadFromSubresource(
&self,
pdstdata: *mut c_void,
dstrowpitch: u32,
dstdepthpitch: u32,
srcsubresource: u32,
psrcbox: *const D3D12_BOX
) -> HRESULT
[src]pub unsafe fn GetHeapProperties(
&self,
pheapproperties: *mut D3D12_HEAP_PROPERTIES,
pheapflags: *mut D3D12_HEAP_FLAGS
) -> HRESULT
[src]Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Vtable = ID3D12Resource1_abi
Returns the vtable for an assumed interface. The name comes from Box
’s assume_init
method as
it assumes the vtable is implemented by the current interface’s vtable (e.g. a parent interface). Read more
Attempts to cast the current interface to another interface using QueryInterface
.
The name cast
is preferred to query
because there is a WinRT method named query but not one
named cast. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ID3D12Resource1
impl !Send for ID3D12Resource1
impl !Sync for ID3D12Resource1
impl Unpin for ID3D12Resource1
impl UnwindSafe for ID3D12Resource1
Blanket Implementations
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
Mutably borrows from an owned value. Read more