Struct dxgi_win::interfaces::IDXGIDevice [] [src]

pub struct IDXGIDevice {
    pub lpVtbl: *const IDXGIDeviceVtbl,
}

Fields

lpVtbl

Methods

impl 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

Methods from Deref<Target=IDXGIObject>

unsafe fn SetPrivateData(&mut self, name: REFGUID, data_size: UINT, data: *const c_void) -> HRESULT

unsafe fn SetPrivateDataInterface(&mut self, name: REFGUID, unknown: *const IUnknown) -> HRESULT

unsafe fn GetPrivateData(&mut self, name: REFGUID, data_size: UINT, data: *mut c_void) -> HRESULT

unsafe fn GetParent(&mut self, riid: REFIID, parent: *mut *mut c_void) -> HRESULT

Trait Implementations

impl Deref for IDXGIDevice

type Target = IDXGIObject

fn deref(&self) -> &IDXGIObject

impl DerefMut for IDXGIDevice

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

impl COMInterface for IDXGIDevice

fn i_unknown(&self) -> &IUnknown

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

impl QueryIID for IDXGIDevice

fn iid() -> GUID