ID3D11Device1Vtbl

Struct ID3D11Device1Vtbl 

Source
#[repr(C)]
pub struct ID3D11Device1Vtbl { pub parent: ID3D11DeviceVtbl, pub GetImmediateContext1: unsafe extern "system" fn(This: *mut ID3D11Device1, ppImmediateContext: *mut *mut ID3D11DeviceContext1), pub CreateDeferredContext1: unsafe extern "system" fn(This: *mut ID3D11Device1, ContextFlags: UINT, ppDeferredContext: *mut *mut ID3D11DeviceContext1) -> HRESULT, pub CreateBlendState: unsafe extern "system" fn(This: *mut ID3D11Device1, pBlendStateDesc: *const D3D11_BLEND_DESC1, ppBlendState: *mut *mut ID3D11BlendState1) -> HRESULT, pub CreateRasterizerState: unsafe extern "system" fn(This: *mut ID3D11Device1, pRasterizerDesc: *const D3D11_RASTERIZER_DESC1, ppRasterizerState: *mut *mut ID3D11RasterizerState1) -> HRESULT, pub CreateDeviceContextState: unsafe extern "system" fn(This: *mut ID3D11Device1, Flags: UINT, pFeatureLevels: *const D3D_FEATURE_LEVEL, FeatureLevels: UINT, SDKVersion: UINT, EmulatedInterface: REFIID, pChosenFeatureLevel: *mut D3D_FEATURE_LEVEL, ppContextState: *mut *mut ID3DDeviceContextState) -> HRESULT, pub OpenSharedResource1: unsafe extern "system" fn(This: *mut ID3D11Device1, hResource: HANDLE, returnedInterface: REFIID, ppResource: *mut *mut c_void) -> HRESULT, pub OpenSharedResourceByName: unsafe extern "system" fn(This: *mut ID3D11Device1, Name: LPCWSTR, dwDesiredAccess: DWORD, returnedInterface: REFIID, ppResource: *mut *mut c_void) -> HRESULT, }

Fields§

§parent: ID3D11DeviceVtbl§GetImmediateContext1: unsafe extern "system" fn(This: *mut ID3D11Device1, ppImmediateContext: *mut *mut ID3D11DeviceContext1)§CreateDeferredContext1: unsafe extern "system" fn(This: *mut ID3D11Device1, ContextFlags: UINT, ppDeferredContext: *mut *mut ID3D11DeviceContext1) -> HRESULT§CreateBlendState: unsafe extern "system" fn(This: *mut ID3D11Device1, pBlendStateDesc: *const D3D11_BLEND_DESC1, ppBlendState: *mut *mut ID3D11BlendState1) -> HRESULT§CreateRasterizerState: unsafe extern "system" fn(This: *mut ID3D11Device1, pRasterizerDesc: *const D3D11_RASTERIZER_DESC1, ppRasterizerState: *mut *mut ID3D11RasterizerState1) -> HRESULT§CreateDeviceContextState: unsafe extern "system" fn(This: *mut ID3D11Device1, Flags: UINT, pFeatureLevels: *const D3D_FEATURE_LEVEL, FeatureLevels: UINT, SDKVersion: UINT, EmulatedInterface: REFIID, pChosenFeatureLevel: *mut D3D_FEATURE_LEVEL, ppContextState: *mut *mut ID3DDeviceContextState) -> HRESULT§OpenSharedResource1: unsafe extern "system" fn(This: *mut ID3D11Device1, hResource: HANDLE, returnedInterface: REFIID, ppResource: *mut *mut c_void) -> HRESULT§OpenSharedResourceByName: unsafe extern "system" fn(This: *mut ID3D11Device1, Name: LPCWSTR, dwDesiredAccess: DWORD, returnedInterface: REFIID, ppResource: *mut *mut c_void) -> HRESULT

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.