Struct dxgi_win::interfaces::IDXGIResource1 [] [src]

pub struct IDXGIResource1 {
    pub lpVtbl: *const IDXGIResource1Vtbl,
}

Fields

lpVtbl

Methods

impl IDXGIResource1

unsafe fn CreateSubresourceSurface(&mut self, index: UINT, surface: *mut *mut IDXGISurface2) -> HRESULT

unsafe fn CreateSharedHandle(&mut self, attributes: *const SECURITY_ATTRIBUTES, access: DWORD, name: LPCWSTR, handle: *mut HANDLE) -> HRESULT

Methods from Deref<Target=IDXGIResource>

unsafe fn GetSharedHandle(&mut self, shared_handle: *mut HANDLE) -> HRESULT

unsafe fn GetUsage(&mut self, usage: *mut DXGI_USAGE) -> HRESULT

unsafe fn SetEvictionPriority(&mut self, eviction_priority: UINT) -> HRESULT

unsafe fn GetEvictionPriority(&mut self, evition_priority: *mut UINT) -> HRESULT

Trait Implementations

impl Deref for IDXGIResource1

type Target = IDXGIResource

fn deref(&self) -> &IDXGIResource

impl DerefMut for IDXGIResource1

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

impl COMInterface for IDXGIResource1

fn i_unknown(&self) -> &IUnknown

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

impl QueryIID for IDXGIResource1

fn iid() -> GUID