Struct dxgi_win::interfaces::IDXGIDevice1 [] [src]

pub struct IDXGIDevice1 {
    pub lpVtbl: *const IDXGIDevice1Vtbl,
}

Fields

lpVtbl

Methods

impl IDXGIDevice1

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

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

Methods from Deref<Target=IDXGIDevice>

unsafe fn GetAdapter(&mut self, adapter: *mut *mut IDXGIAdapter) -> HRESULT

unsafe fn CreateSurface(&mut self, desc: *const DXGI_SURFACE_DESC, num_surfaces: UINT, usage: DXGI_USAGE, shared_resource: *const DXGI_SHARED_RESOURCE, surface: *mut *mut IDXGISurface) -> HRESULT

unsafe fn QueryResourceResidency(&mut self, resources: *const IUnknown, residency_status: *mut DXGI_RESIDENCY, num_resources: UINT) -> HRESULT

unsafe fn SetGPUThreadPriority(&mut self, priority: INT) -> HRESULT

unsafe fn GetGPUThreadPriority(&mut self, priority: *mut INT) -> HRESULT

Trait Implementations

impl Deref for IDXGIDevice1

type Target = IDXGIDevice

fn deref(&self) -> &IDXGIDevice

impl DerefMut for IDXGIDevice1

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

impl COMInterface for IDXGIDevice1

fn i_unknown(&self) -> &IUnknown

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

impl QueryIID for IDXGIDevice1

fn iid() -> GUID