Struct dxgi_win::interfaces::IDXGIDevice2 [] [src]

pub struct IDXGIDevice2 {
    pub lpVtbl: *const IDXGIDevice2Vtbl,
}

Fields

lpVtbl

Methods

impl IDXGIDevice2

unsafe fn OfferResources(&mut self, num_resources: UINT, resources: *const *mut IDXGIResource, priority: DXGI_OFFER_RESOURCE_PRIORITY) -> HRESULT

unsafe fn ReclaimResources(&mut self, num_resources: UINT, resources: *const *mut IDXGIResource, discarded: *mut BOOL) -> HRESULT

unsafe fn EnqueueSetEvent(&mut self, event: HANDLE) -> HRESULT

Methods from Deref<Target=IDXGIDevice1>

unsafe fn GetMaximumFrameLatency(&mut self, max_latency: *mut UINT) -> HRESULT

unsafe fn SetMaximumFrameLatency(&mut self, max_latency: UINT) -> HRESULT

Trait Implementations

impl Deref for IDXGIDevice2

type Target = IDXGIDevice1

fn deref(&self) -> &IDXGIDevice1

impl DerefMut for IDXGIDevice2

fn deref_mut(&mut self) -> &mut IDXGIDevice1

impl COMInterface for IDXGIDevice2

fn i_unknown(&self) -> &IUnknown

fn i_unknown_mut(&mut self) -> &mut IUnknown

impl QueryIID for IDXGIDevice2

fn iid() -> GUID