Trait windows::Win32::Graphics::Direct3D11on12::ID3D11On12Device_Impl
pub trait ID3D11On12Device_Impl: Sized {
// Required methods
fn CreateWrappedResource(
&self,
presource12: Option<&IUnknown>,
pflags11: *const D3D11_RESOURCE_FLAGS,
instate: D3D12_RESOURCE_STATES,
outstate: D3D12_RESOURCE_STATES,
riid: *const GUID,
ppresource11: *mut *mut c_void,
) -> Result<()>;
fn ReleaseWrappedResources(
&self,
ppresources: *const Option<ID3D11Resource>,
numresources: u32,
);
fn AcquireWrappedResources(
&self,
ppresources: *const Option<ID3D11Resource>,
numresources: u32,
);
}
Required Methods§
fn CreateWrappedResource( &self, presource12: Option<&IUnknown>, pflags11: *const D3D11_RESOURCE_FLAGS, instate: D3D12_RESOURCE_STATES, outstate: D3D12_RESOURCE_STATES, riid: *const GUID, ppresource11: *mut *mut c_void, ) -> Result<()>
fn ReleaseWrappedResources( &self, ppresources: *const Option<ID3D11Resource>, numresources: u32, )
fn AcquireWrappedResources( &self, ppresources: *const Option<ID3D11Resource>, numresources: u32, )
Object Safety§
This trait is not object safe.