Struct windows::Win32::Graphics::Direct3D11::ID3D11Device_Vtbl

#[repr(C)]
pub struct ID3D11Device_Vtbl {
Show 41 fields pub base__: IUnknown_Vtbl, pub CreateBuffer: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_BUFFER_DESC, _: *const D3D11_SUBRESOURCE_DATA, _: *mut *mut c_void) -> HRESULT, pub CreateTexture1D: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_TEXTURE1D_DESC, _: *const D3D11_SUBRESOURCE_DATA, _: *mut *mut c_void) -> HRESULT, pub CreateTexture2D: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_TEXTURE2D_DESC, _: *const D3D11_SUBRESOURCE_DATA, _: *mut *mut c_void) -> HRESULT, pub CreateTexture3D: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_TEXTURE3D_DESC, _: *const D3D11_SUBRESOURCE_DATA, _: *mut *mut c_void) -> HRESULT, pub CreateShaderResourceView: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D3D11_SHADER_RESOURCE_VIEW_DESC, _: *mut *mut c_void) -> HRESULT, pub CreateUnorderedAccessView: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D3D11_UNORDERED_ACCESS_VIEW_DESC, _: *mut *mut c_void) -> HRESULT, pub CreateRenderTargetView: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D3D11_RENDER_TARGET_VIEW_DESC, _: *mut *mut c_void) -> HRESULT, pub CreateDepthStencilView: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D3D11_DEPTH_STENCIL_VIEW_DESC, _: *mut *mut c_void) -> HRESULT, pub CreateInputLayout: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_INPUT_ELEMENT_DESC, _: u32, _: *const c_void, _: usize, _: *mut *mut c_void) -> HRESULT, pub CreateVertexShader: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize, _: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub CreateGeometryShader: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize, _: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub CreateGeometryShaderWithStreamOutput: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize, _: *const D3D11_SO_DECLARATION_ENTRY, _: u32, _: *const u32, _: u32, _: u32, _: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub CreatePixelShader: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize, _: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub CreateHullShader: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize, _: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub CreateDomainShader: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize, _: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub CreateComputeShader: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize, _: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub CreateClassLinkage: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub CreateBlendState: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_BLEND_DESC, _: *mut *mut c_void) -> HRESULT, pub CreateDepthStencilState: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_DEPTH_STENCIL_DESC, _: *mut *mut c_void) -> HRESULT, pub CreateRasterizerState: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_RASTERIZER_DESC, _: *mut *mut c_void) -> HRESULT, pub CreateSamplerState: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_SAMPLER_DESC, _: *mut *mut c_void) -> HRESULT, pub CreateQuery: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_QUERY_DESC, _: *mut *mut c_void) -> HRESULT, pub CreatePredicate: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_QUERY_DESC, _: *mut *mut c_void) -> HRESULT, pub CreateCounter: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_COUNTER_DESC, _: *mut *mut c_void) -> HRESULT, pub CreateDeferredContext: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT, pub OpenSharedResource: unsafe extern "system" fn(_: *mut c_void, _: HANDLE, _: *const GUID, _: *mut *mut c_void) -> HRESULT, pub CheckFormatSupport: unsafe extern "system" fn(_: *mut c_void, _: DXGI_FORMAT, _: *mut u32) -> HRESULT, pub CheckMultisampleQualityLevels: unsafe extern "system" fn(_: *mut c_void, _: DXGI_FORMAT, _: u32, _: *mut u32) -> HRESULT, pub CheckCounterInfo: unsafe extern "system" fn(_: *mut c_void, _: *mut D3D11_COUNTER_INFO), pub CheckCounter: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_COUNTER_DESC, _: *mut D3D11_COUNTER_TYPE, _: *mut u32, _: PSTR, _: *mut u32, _: PSTR, _: *mut u32, _: PSTR, _: *mut u32) -> HRESULT, pub CheckFeatureSupport: unsafe extern "system" fn(_: *mut c_void, _: D3D11_FEATURE, _: *mut c_void, _: u32) -> HRESULT, pub GetPrivateData: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut u32, _: *mut c_void) -> HRESULT, pub SetPrivateData: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: u32, _: *const c_void) -> HRESULT, pub SetPrivateDataInterface: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut c_void) -> HRESULT, pub GetFeatureLevel: unsafe extern "system" fn(_: *mut c_void) -> D3D_FEATURE_LEVEL, pub GetCreationFlags: unsafe extern "system" fn(_: *mut c_void) -> u32, pub GetDeviceRemovedReason: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub GetImmediateContext: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void), pub SetExceptionMode: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT, pub GetExceptionMode: unsafe extern "system" fn(_: *mut c_void) -> u32,
}

Fields§

§base__: IUnknown_Vtbl§CreateBuffer: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_BUFFER_DESC, _: *const D3D11_SUBRESOURCE_DATA, _: *mut *mut c_void) -> HRESULT§CreateTexture1D: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_TEXTURE1D_DESC, _: *const D3D11_SUBRESOURCE_DATA, _: *mut *mut c_void) -> HRESULT§CreateTexture2D: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_TEXTURE2D_DESC, _: *const D3D11_SUBRESOURCE_DATA, _: *mut *mut c_void) -> HRESULT§CreateTexture3D: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_TEXTURE3D_DESC, _: *const D3D11_SUBRESOURCE_DATA, _: *mut *mut c_void) -> HRESULT§CreateShaderResourceView: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D3D11_SHADER_RESOURCE_VIEW_DESC, _: *mut *mut c_void) -> HRESULT§CreateUnorderedAccessView: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D3D11_UNORDERED_ACCESS_VIEW_DESC, _: *mut *mut c_void) -> HRESULT§CreateRenderTargetView: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D3D11_RENDER_TARGET_VIEW_DESC, _: *mut *mut c_void) -> HRESULT§CreateDepthStencilView: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D3D11_DEPTH_STENCIL_VIEW_DESC, _: *mut *mut c_void) -> HRESULT§CreateInputLayout: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_INPUT_ELEMENT_DESC, _: u32, _: *const c_void, _: usize, _: *mut *mut c_void) -> HRESULT§CreateVertexShader: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize, _: *mut c_void, _: *mut *mut c_void) -> HRESULT§CreateGeometryShader: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize, _: *mut c_void, _: *mut *mut c_void) -> HRESULT§CreateGeometryShaderWithStreamOutput: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize, _: *const D3D11_SO_DECLARATION_ENTRY, _: u32, _: *const u32, _: u32, _: u32, _: *mut c_void, _: *mut *mut c_void) -> HRESULT§CreatePixelShader: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize, _: *mut c_void, _: *mut *mut c_void) -> HRESULT§CreateHullShader: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize, _: *mut c_void, _: *mut *mut c_void) -> HRESULT§CreateDomainShader: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize, _: *mut c_void, _: *mut *mut c_void) -> HRESULT§CreateComputeShader: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize, _: *mut c_void, _: *mut *mut c_void) -> HRESULT§CreateClassLinkage: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§CreateBlendState: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_BLEND_DESC, _: *mut *mut c_void) -> HRESULT§CreateDepthStencilState: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_DEPTH_STENCIL_DESC, _: *mut *mut c_void) -> HRESULT§CreateRasterizerState: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_RASTERIZER_DESC, _: *mut *mut c_void) -> HRESULT§CreateSamplerState: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_SAMPLER_DESC, _: *mut *mut c_void) -> HRESULT§CreateQuery: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_QUERY_DESC, _: *mut *mut c_void) -> HRESULT§CreatePredicate: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_QUERY_DESC, _: *mut *mut c_void) -> HRESULT§CreateCounter: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_COUNTER_DESC, _: *mut *mut c_void) -> HRESULT§CreateDeferredContext: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT§OpenSharedResource: unsafe extern "system" fn(_: *mut c_void, _: HANDLE, _: *const GUID, _: *mut *mut c_void) -> HRESULT§CheckFormatSupport: unsafe extern "system" fn(_: *mut c_void, _: DXGI_FORMAT, _: *mut u32) -> HRESULT§CheckMultisampleQualityLevels: unsafe extern "system" fn(_: *mut c_void, _: DXGI_FORMAT, _: u32, _: *mut u32) -> HRESULT§CheckCounterInfo: unsafe extern "system" fn(_: *mut c_void, _: *mut D3D11_COUNTER_INFO)§CheckCounter: unsafe extern "system" fn(_: *mut c_void, _: *const D3D11_COUNTER_DESC, _: *mut D3D11_COUNTER_TYPE, _: *mut u32, _: PSTR, _: *mut u32, _: PSTR, _: *mut u32, _: PSTR, _: *mut u32) -> HRESULT§CheckFeatureSupport: unsafe extern "system" fn(_: *mut c_void, _: D3D11_FEATURE, _: *mut c_void, _: u32) -> HRESULT§GetPrivateData: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut u32, _: *mut c_void) -> HRESULT§SetPrivateData: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: u32, _: *const c_void) -> HRESULT§SetPrivateDataInterface: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut c_void) -> HRESULT§GetFeatureLevel: unsafe extern "system" fn(_: *mut c_void) -> D3D_FEATURE_LEVEL§GetCreationFlags: unsafe extern "system" fn(_: *mut c_void) -> u32§GetDeviceRemovedReason: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§GetImmediateContext: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void)§SetExceptionMode: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§GetExceptionMode: unsafe extern "system" fn(_: *mut c_void) -> u32

Implementations§

§

impl ID3D11Device_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> ID3D11Device_Vtbl
where Identity: ID3D11Device_Impl + IUnknownImpl,

pub fn matches(iid: &GUID) -> bool

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>,

§

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>,

§

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.