Struct mltg_bindings::Windows::Win32::Graphics::Dxgi::IDXGIDevice4 [−][src]
#[repr(transparent)]pub struct IDXGIDevice4(_);
Implementations
pub unsafe fn SetPrivateData(
&self,
name: *const Guid,
datasize: u32,
pdata: *const c_void
) -> Result<()>
pub unsafe fn SetPrivateDataInterface<'a>(
&self,
name: *const Guid,
punknown: impl IntoParam<'a, IUnknown>
) -> 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: *mut Option<IUnknown>,
presidencystatus: *mut DXGI_RESIDENCY,
numresources: u32
) -> Result<()>
pub unsafe fn OfferResources(
&self,
numresources: u32,
ppresources: *mut Option<IDXGIResource>,
priority: DXGI_OFFER_RESOURCE_PRIORITY
) -> Result<()>
pub unsafe fn ReclaimResources(
&self,
numresources: u32,
ppresources: *mut Option<IDXGIResource>
) -> Result<BOOL>
pub unsafe fn OfferResources1(
&self,
numresources: u32,
ppresources: *mut Option<IDXGIResource>,
priority: DXGI_OFFER_RESOURCE_PRIORITY,
flags: u32
) -> Result<()>
pub unsafe fn ReclaimResources1(
&self,
numresources: u32,
ppresources: *mut Option<IDXGIResource>
) -> Result<DXGI_RECLAIM_RESOURCE_RESULTS>
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.
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 IDXGIDevice4
impl !Send for IDXGIDevice4
impl !Sync for IDXGIDevice4
impl Unpin for IDXGIDevice4
impl UnwindSafe for IDXGIDevice4
Blanket Implementations
type DefaultType = Option<T>
Converts from Self::DefaultType
to Result<T>
.
Returns a pointer for setting the object’s value via an ABI call.
Mutably borrows from an owned value. Read more