Struct d3d11_win::core::interfaces::ID3D11Device [] [src]

pub struct ID3D11Device {
    pub lpVtbl: *const ID3D11DeviceVtbl,
}

Fields

lpVtbl

Methods

impl ID3D11Device

unsafe fn CreateBuffer(&mut self, desc: *const D3D11_BUFFER_DESC, initial_data: *const D3D11_SUBRESOURCE_DATA, buffer: *mut *mut ID3D11Buffer) -> HRESULT

unsafe fn CreateTexture1D(&mut self, desc: *const D3D11_TEXTURE1D_DESC, initial_data: *const D3D11_SUBRESOURCE_DATA, texture1_d: *mut *mut ID3D11Texture1D) -> HRESULT

unsafe fn CreateTexture2D(&mut self, desc: *const D3D11_TEXTURE2D_DESC, initial_data: *const D3D11_SUBRESOURCE_DATA, texture2_d: *mut *mut ID3D11Texture2D) -> HRESULT

unsafe fn CreateTexture3D(&mut self, desc: *const D3D11_TEXTURE3D_DESC, initial_data: *const D3D11_SUBRESOURCE_DATA, texture3_d: *mut *mut ID3D11Texture3D) -> HRESULT

unsafe fn CreateShaderResourceView(&mut self, resource: *mut ID3D11Resource, desc: *const D3D11_SHADER_RESOURCE_VIEW_DESC, s_r_view: *mut *mut ID3D11ShaderResourceView) -> HRESULT

unsafe fn CreateUnorderedAccessView(&mut self, resource: *mut ID3D11Resource, desc: *const D3D11_UNORDERED_ACCESS_VIEW_DESC, u_a_view: *mut *mut ID3D11UnorderedAccessView) -> HRESULT

unsafe fn CreateRenderTargetView(&mut self, resource: *mut ID3D11Resource, desc: *const D3D11_RENDER_TARGET_VIEW_DESC, r_t_view: *mut *mut ID3D11RenderTargetView) -> HRESULT

unsafe fn CreateDepthStencilView(&mut self, resource: *mut ID3D11Resource, desc: *const D3D11_DEPTH_STENCIL_VIEW_DESC, depth_stencil_view: *mut *mut ID3D11DepthStencilView) -> HRESULT

unsafe fn CreateInputLayout(&mut self, 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

unsafe fn CreateVertexShader(&mut self, shader_bytecode: *const c_void, bytecode_length: SIZE_T, class_linkage: *mut ID3D11ClassLinkage, vertex_shader: *mut *mut ID3D11VertexShader) -> HRESULT

unsafe fn CreateGeometryShader(&mut self, shader_bytecode: *const c_void, bytecode_length: SIZE_T, class_linkage: *mut ID3D11ClassLinkage, geometry_shader: *mut *mut ID3D11GeometryShader) -> HRESULT

unsafe fn CreateGeometryShaderWithStreamOutput(&mut self, 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

unsafe fn CreatePixelShader(&mut self, shader_bytecode: *const c_void, bytecode_length: SIZE_T, class_linkage: *mut ID3D11ClassLinkage, pixel_shader: *mut *mut ID3D11PixelShader) -> HRESULT

unsafe fn CreateHullShader(&mut self, shader_bytecode: *const c_void, bytecode_length: SIZE_T, class_linkage: *mut ID3D11ClassLinkage, hull_shader: *mut *mut ID3D11HullShader) -> HRESULT

unsafe fn CreateDomainShader(&mut self, shader_bytecode: *const c_void, bytecode_length: SIZE_T, class_linkage: *mut ID3D11ClassLinkage, domain_shader: *mut *mut ID3D11DomainShader) -> HRESULT

unsafe fn CreateComputeShader(&mut self, shader_bytecode: *const c_void, bytecode_length: SIZE_T, class_linkage: *mut ID3D11ClassLinkage, compute_shader: *mut *mut ID3D11ComputeShader) -> HRESULT

unsafe fn CreateClassLinkage(&mut self, linkage: *mut *mut ID3D11ClassLinkage) -> HRESULT

unsafe fn CreateBlendState(&mut self, blend_state_desc: *const D3D11_BLEND_DESC, blend_state: *mut *mut ID3D11BlendState) -> HRESULT

unsafe fn CreateDepthStencilState(&mut self, depth_stencil_desc: *const D3D11_DEPTH_STENCIL_DESC, depth_stencil_state: *mut *mut ID3D11DepthStencilState) -> HRESULT

unsafe fn CreateRasterizerState(&mut self, rasterizer_desc: *const D3D11_RASTERIZER_DESC, rasterizer_state: *mut *mut ID3D11RasterizerState) -> HRESULT

unsafe fn CreateSamplerState(&mut self, sampler_desc: *const D3D11_SAMPLER_DESC, sampler_state: *mut *mut ID3D11SamplerState) -> HRESULT

unsafe fn CreateQuery(&mut self, query_desc: *const D3D11_QUERY_DESC, query: *mut *mut ID3D11Query) -> HRESULT

unsafe fn CreatePredicate(&mut self, predicate_desc: *const D3D11_QUERY_DESC, predicate: *mut *mut ID3D11Predicate) -> HRESULT

unsafe fn CreateCounter(&mut self, counter_desc: *const D3D11_COUNTER_DESC, counter: *mut *mut ID3D11Counter) -> HRESULT

unsafe fn CreateDeferredContext(&mut self, context_flags: UINT, deferred_context: *mut *mut ID3D11DeviceContext) -> HRESULT

unsafe fn OpenSharedResource(&mut self, h_resource: HANDLE, returned_interface: REFIID, resource: *mut *mut c_void) -> HRESULT

unsafe fn CheckFormatSupport(&mut self, format: DXGI_FORMAT, format_support: *mut UINT) -> HRESULT

unsafe fn CheckMultisampleQualityLevels(&mut self, format: DXGI_FORMAT, samle_count: UINT, num_quality_levels: *mut UINT) -> HRESULT

unsafe fn CheckCounterInfo(&mut self, counter_info: *mut D3D11_COUNTER_INFO)

unsafe fn CheckCounter(&mut self, 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

unsafe fn CheckFeatureSupport(&mut self, feature: D3D11_FEATURE, feature_support_data: *mut c_void, feature_suort_data_size: UINT) -> HRESULT

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

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

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

unsafe fn GetFeatureLevel(&mut self) -> D3D_FEATURE_LEVEL

unsafe fn GetCreationFlags(&mut self) -> UINT

unsafe fn GetDeviceRemovedReason(&mut self) -> HRESULT

unsafe fn GetImmediateContext(&mut self, immediate_context: *mut *mut ID3D11DeviceContext)

unsafe fn SetExceptionMode(&mut self, raise_flags: UINT) -> HRESULT

unsafe fn GetExceptionMode(&mut self) -> UINT

Methods from Deref<Target=IUnknown>

unsafe fn QueryInterface(&mut self, riid: *const GUID, ppvObject: *mut *mut c_void) -> i32

unsafe fn AddRef(&mut self) -> u32

unsafe fn Release(&mut self) -> u32

Trait Implementations

impl Deref for ID3D11Device

type Target = IUnknown

fn deref(&self) -> &IUnknown

impl DerefMut for ID3D11Device

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

impl COMInterface for ID3D11Device

fn i_unknown(&self) -> &IUnknown

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

impl QueryIID for ID3D11Device

fn iid() -> GUID