pub struct ID3D11DeviceVtbl {
pub parent: IUnknownVtbl,
pub CreateBuffer: Option<unsafe extern "system" fn(This: *mut ID3D11Device, desc: *const D3D11_BUFFER_DESC, initial_data: *const D3D11_SUBRESOURCE_DATA, buffer: *mut *mut ID3D11Buffer) -> HRESULT>,
pub CreateTexture1D: Option<unsafe extern "system" fn(This: *mut ID3D11Device, desc: *const D3D11_TEXTURE1D_DESC, initial_data: *const D3D11_SUBRESOURCE_DATA, texture1_d: *mut *mut ID3D11Texture1D) -> HRESULT>,
pub CreateTexture2D: Option<unsafe extern "system" fn(This: *mut ID3D11Device, desc: *const D3D11_TEXTURE2D_DESC, initial_data: *const D3D11_SUBRESOURCE_DATA, texture2_d: *mut *mut ID3D11Texture2D) -> HRESULT>,
pub CreateTexture3D: Option<unsafe extern "system" fn(This: *mut ID3D11Device, desc: *const D3D11_TEXTURE3D_DESC, initial_data: *const D3D11_SUBRESOURCE_DATA, texture3_d: *mut *mut ID3D11Texture3D) -> HRESULT>,
pub CreateShaderResourceView: Option<unsafe extern "system" fn(This: *mut ID3D11Device, resource: *mut ID3D11Resource, desc: *const D3D11_SHADER_RESOURCE_VIEW_DESC, s_r_view: *mut *mut ID3D11ShaderResourceView) -> HRESULT>,
pub CreateUnorderedAccessView: Option<unsafe extern "system" fn(This: *mut ID3D11Device, resource: *mut ID3D11Resource, desc: *const D3D11_UNORDERED_ACCESS_VIEW_DESC, u_a_view: *mut *mut ID3D11UnorderedAccessView) -> HRESULT>,
pub CreateRenderTargetView: Option<unsafe extern "system" fn(This: *mut ID3D11Device, resource: *mut ID3D11Resource, desc: *const D3D11_RENDER_TARGET_VIEW_DESC, r_t_view: *mut *mut ID3D11RenderTargetView) -> HRESULT>,
pub CreateDepthStencilView: Option<unsafe extern "system" fn(This: *mut ID3D11Device, resource: *mut ID3D11Resource, desc: *const D3D11_DEPTH_STENCIL_VIEW_DESC, depth_stencil_view: *mut *mut ID3D11DepthStencilView) -> HRESULT>,
pub CreateInputLayout: Option<unsafe extern "system" fn(This: *mut ID3D11Device, input_element_descs: *const D3D11_INPUT_ELEMENT_DESC, num_elements: UINT, shader_bytecode_with_input_signature: *const c_void, bytecode_length: SIZE_T, input_layout: *mut *mut ID3D11InputLayout) -> HRESULT>,
pub CreateVertexShader: Option<unsafe extern "system" fn(This: *mut ID3D11Device, shader_bytecode: *const c_void, bytecode_length: SIZE_T, class_linkage: *mut ID3D11ClassLinkage, vertex_shader: *mut *mut ID3D11VertexShader) -> HRESULT>,
pub CreateGeometryShader: Option<unsafe extern "system" fn(This: *mut ID3D11Device, shader_bytecode: *const c_void, bytecode_length: SIZE_T, class_linkage: *mut ID3D11ClassLinkage, geometry_shader: *mut *mut ID3D11GeometryShader) -> HRESULT>,
pub CreateGeometryShaderWithStreamOutput: Option<unsafe extern "system" fn(This: *mut ID3D11Device, shader_bytecode: *const c_void, bytecode_length: SIZE_T, s_o_declaration: *const D3D11_SO_DECLARATION_ENTRY, num_entries: UINT, buffer_strides: *const UINT, num_strides: UINT, rasterized_stream: UINT, class_linkage: *mut ID3D11ClassLinkage, geometry_shader: *mut *mut ID3D11GeometryShader) -> HRESULT>,
pub CreatePixelShader: Option<unsafe extern "system" fn(This: *mut ID3D11Device, shader_bytecode: *const c_void, bytecode_length: SIZE_T, class_linkage: *mut ID3D11ClassLinkage, pixel_shader: *mut *mut ID3D11PixelShader) -> HRESULT>,
pub CreateHullShader: Option<unsafe extern "system" fn(This: *mut ID3D11Device, shader_bytecode: *const c_void, bytecode_length: SIZE_T, class_linkage: *mut ID3D11ClassLinkage, hull_shader: *mut *mut ID3D11HullShader) -> HRESULT>,
pub CreateDomainShader: Option<unsafe extern "system" fn(This: *mut ID3D11Device, shader_bytecode: *const c_void, bytecode_length: SIZE_T, class_linkage: *mut ID3D11ClassLinkage, domain_shader: *mut *mut ID3D11DomainShader) -> HRESULT>,
pub CreateComputeShader: Option<unsafe extern "system" fn(This: *mut ID3D11Device, shader_bytecode: *const c_void, bytecode_length: SIZE_T, class_linkage: *mut ID3D11ClassLinkage, compute_shader: *mut *mut ID3D11ComputeShader) -> HRESULT>,
pub CreateClassLinkage: Option<unsafe extern "system" fn(This: *mut ID3D11Device, linkage: *mut *mut ID3D11ClassLinkage) -> HRESULT>,
pub CreateBlendState: Option<unsafe extern "system" fn(This: *mut ID3D11Device, blend_state_desc: *const D3D11_BLEND_DESC, blend_state: *mut *mut ID3D11BlendState) -> HRESULT>,
pub CreateDepthStencilState: Option<unsafe extern "system" fn(This: *mut ID3D11Device, depth_stencil_desc: *const D3D11_DEPTH_STENCIL_DESC, depth_stencil_state: *mut *mut ID3D11DepthStencilState) -> HRESULT>,
pub CreateRasterizerState: Option<unsafe extern "system" fn(This: *mut ID3D11Device, rasterizer_desc: *const D3D11_RASTERIZER_DESC, rasterizer_state: *mut *mut ID3D11RasterizerState) -> HRESULT>,
pub CreateSamplerState: Option<unsafe extern "system" fn(This: *mut ID3D11Device, sampler_desc: *const D3D11_SAMPLER_DESC, sampler_state: *mut *mut ID3D11SamplerState) -> HRESULT>,
pub CreateQuery: Option<unsafe extern "system" fn(This: *mut ID3D11Device, query_desc: *const D3D11_QUERY_DESC, query: *mut *mut ID3D11Query) -> HRESULT>,
pub CreatePredicate: Option<unsafe extern "system" fn(This: *mut ID3D11Device, predicate_desc: *const D3D11_QUERY_DESC, predicate: *mut *mut ID3D11Predicate) -> HRESULT>,
pub CreateCounter: Option<unsafe extern "system" fn(This: *mut ID3D11Device, counter_desc: *const D3D11_COUNTER_DESC, counter: *mut *mut ID3D11Counter) -> HRESULT>,
pub CreateDeferredContext: Option<unsafe extern "system" fn(This: *mut ID3D11Device, context_flags: UINT, deferred_context: *mut *mut ID3D11DeviceContext) -> HRESULT>,
pub OpenSharedResource: Option<unsafe extern "system" fn(This: *mut ID3D11Device, h_resource: HANDLE, returned_interface: REFIID, resource: *mut *mut c_void) -> HRESULT>,
pub CheckFormatSupport: Option<unsafe extern "system" fn(This: *mut ID3D11Device, format: DXGI_FORMAT, format_support: *mut UINT) -> HRESULT>,
pub CheckMultisampleQualityLevels: Option<unsafe extern "system" fn(This: *mut ID3D11Device, format: DXGI_FORMAT, samle_count: UINT, num_quality_levels: *mut UINT) -> HRESULT>,
pub CheckCounterInfo: Option<unsafe extern "system" fn(This: *mut ID3D11Device, counter_info: *mut D3D11_COUNTER_INFO)>,
pub CheckCounter: Option<unsafe extern "system" fn(This: *mut ID3D11Device, desc: *const D3D11_COUNTER_DESC, type_: *mut D3D11_COUNTER_TYPE, active_counters: *mut UINT, sz_name: LPSTR, name_length: *mut UINT, sz_units: LPSTR, units_length: *mut UINT, sz_descrition: LPSTR, description_length: *mut UINT) -> HRESULT>,
pub CheckFeatureSupport: Option<unsafe extern "system" fn(This: *mut ID3D11Device, feature: D3D11_FEATURE, feature_support_data: *mut c_void, feature_suort_data_size: UINT) -> HRESULT>,
pub GetPrivateData: Option<unsafe extern "system" fn(This: *mut ID3D11Device, guid: REFGUID, data_size: *mut UINT, data: *mut c_void) -> HRESULT>,
pub SetPrivateData: Option<unsafe extern "system" fn(This: *mut ID3D11Device, guid: REFGUID, data_size: UINT, data: *const c_void) -> HRESULT>,
pub SetPrivateDataInterface: Option<unsafe extern "system" fn(This: *mut ID3D11Device, guid: REFGUID, data: *const IUnknown) -> HRESULT>,
pub GetFeatureLevel: Option<unsafe extern "system" fn(This: *mut ID3D11Device) -> D3D_FEATURE_LEVEL>,
pub GetCreationFlags: Option<unsafe extern "system" fn(This: *mut ID3D11Device) -> UINT>,
pub GetDeviceRemovedReason: Option<unsafe extern "system" fn(This: *mut ID3D11Device) -> HRESULT>,
pub GetImmediateContext: Option<unsafe extern "system" fn(This: *mut ID3D11Device, immediate_context: *mut *mut ID3D11DeviceContext)>,
pub SetExceptionMode: Option<unsafe extern "system" fn(This: *mut ID3D11Device, raise_flags: UINT) -> HRESULT>,
pub GetExceptionMode: Option<unsafe extern "system" fn(This: *mut ID3D11Device) -> UINT>,
}
Fields
parent | |
CreateBuffer | |
CreateTexture1D | |
CreateTexture2D | |
CreateTexture3D | |
CreateShaderResourceView | |
CreateUnorderedAccessView | |
CreateRenderTargetView | |
CreateDepthStencilView | |
CreateInputLayout | |
CreateVertexShader | |
CreateGeometryShader | |
CreateGeometryShaderWithStreamOutput | |
CreatePixelShader | |
CreateHullShader | |
CreateDomainShader | |
CreateComputeShader | |
CreateClassLinkage | |
CreateBlendState | |
CreateDepthStencilState | |
CreateRasterizerState | |
CreateSamplerState | |
CreateQuery | |
CreatePredicate | |
CreateCounter | |
CreateDeferredContext | |
OpenSharedResource | |
CheckFormatSupport | |
CheckMultisampleQualityLevels | |
CheckCounterInfo | |
CheckCounter | |
CheckFeatureSupport | |
GetPrivateData | |
SetPrivateData | |
SetPrivateDataInterface | |
GetFeatureLevel | |
GetCreationFlags | |
GetDeviceRemovedReason | |
GetImmediateContext | |
SetExceptionMode | |
GetExceptionMode | |