Struct mltg_bindings::Windows::Win32::Graphics::Direct3D12::ID3D11On12Device [−][src]
#[repr(transparent)]pub struct ID3D11On12Device(_);
Implementations
pub unsafe fn CreateWrappedResource<'a, T: Interface>(
&self,
presource12: impl IntoParam<'a, IUnknown>,
pflags11: *const D3D11_RESOURCE_FLAGS,
instate: D3D12_RESOURCE_STATES,
outstate: D3D12_RESOURCE_STATES
) -> Result<T>
pub unsafe fn ReleaseWrappedResources(
&self,
ppresources: *mut Option<ID3D11Resource>,
numresources: u32
)
pub unsafe fn AcquireWrappedResources(
&self,
ppresources: *mut Option<ID3D11Resource>,
numresources: u32
)
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Vtable = ID3D11On12Device_abi
Returns the vtable for an assumed interface. The name comes from Box::assume_init()
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 ID3D11On12Device
impl !Send for ID3D11On12Device
impl !Sync for ID3D11On12Device
impl Unpin for ID3D11On12Device
impl UnwindSafe for ID3D11On12Device
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