Struct mltg_bindings::Windows::Win32::Graphics::Dxgi::IDXGIDevice [−][src]
#[repr(transparent)]pub struct IDXGIDevice(_);
Implementations
pub unsafe fn SetPrivateData(
&self,
name: *const Guid,
datasize: u32,
pdata: *const c_void
) -> Result<()>
pub unsafe fn SetPrivateDataInterface<'a, Param1: IntoParam<'a, IUnknown>>(
&self,
name: *const Guid,
punknown: Param1
) -> Result<()>
pub unsafe fn GetPrivateData(
&self,
name: *const Guid,
pdatasize: *mut u32,
pdata: *mut c_void
) -> Result<()>
pub unsafe fn CreateSurface(
&self,
pdesc: *const DXGI_SURFACE_DESC,
numsurfaces: u32,
usage: u32,
psharedresource: *const DXGI_SHARED_RESOURCE
) -> Result<IDXGISurface>
pub unsafe fn QueryResourceResidency(
&self,
ppresources: *const Option<IUnknown>,
presidencystatus: *mut DXGI_RESIDENCY,
numresources: u32
) -> Result<()>
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.
Performs the conversion.
Performs the conversion.
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 IDXGIDevice
impl !Send for IDXGIDevice
impl !Sync for IDXGIDevice
impl Unpin for IDXGIDevice
impl UnwindSafe for IDXGIDevice
Blanket Implementations
Mutably borrows from an owned value. Read more