ID3D11Device interface (d3d11.h)
The device interface represents a virtual adapter; it is used to create resources.
Note The latest version of this interface is ID3D11Device5 introduced in the Windows 10 Creators Update. Applications targetting Windows 10 Creators Update should use the ID3D11Device5 interface instead of ID3D11Device.
Inheritance
The ID3D11Device interface inherits from the IUnknown interface. ID3D11Device also has these types of members:
Methods
The ID3D11Device interface has these methods.
ID3D11Device::CheckCounter Get the type, name, units of measure, and a description of an existing counter. (ID3D11Device.CheckCounter) |
ID3D11Device::CheckCounterInfo Get a counter's information. (ID3D11Device.CheckCounterInfo) |
ID3D11Device::CheckFeatureSupport Gets information about the features that are supported by the current graphics driver. (ID3D11Device.CheckFeatureSupport) |
ID3D11Device::CheckFormatSupport Get the support of a given format on the installed video device. (ID3D11Device.CheckFormatSupport) |
ID3D11Device::CheckMultisampleQualityLevels Get the number of quality levels available during multisampling. (ID3D11Device.CheckMultisampleQualityLevels) |
ID3D11Device::CreateBlendState Create a blend-state object that encapsulates blend state for the output-merger stage. (ID3D11Device.CreateBlendState) |
ID3D11Device::CreateBuffer Creates a buffer (vertex buffer, index buffer, or shader-constant buffer). |
ID3D11Device::CreateClassLinkage Creates class linkage libraries to enable dynamic shader linkage. |
ID3D11Device::CreateComputeShader Create a compute shader. |
ID3D11Device::CreateCounter Create a counter object for measuring GPU performance. (ID3D11Device.CreateCounter) |
ID3D11Device::CreateDeferredContext Creates a deferred context, which can record command lists. (ID3D11Device.CreateDeferredContext) |
ID3D11Device::CreateDepthStencilState Create a depth-stencil state object that encapsulates depth-stencil test information for the output-merger stage. (ID3D11Device.CreateDepthStencilState) |
ID3D11Device::CreateDepthStencilView Create a depth-stencil view for accessing resource data. (ID3D11Device.CreateDepthStencilView) |
ID3D11Device::CreateDomainShader Create a domain shader. |
ID3D11Device::CreateGeometryShader Create a geometry shader. (ID3D11Device.CreateGeometryShader) |
ID3D11Device::CreateGeometryShaderWithStreamOutput Creates a geometry shader that can write to streaming output buffers. (ID3D11Device.CreateGeometryShaderWithStreamOutput) |
ID3D11Device::CreateHullShader Create a hull shader. |
ID3D11Device::CreateInputLayout Create an input-layout object to describe the input-buffer data for the input-assembler stage. (ID3D11Device.CreateInputLayout) |
ID3D11Device::CreatePixelShader Create a pixel shader. (ID3D11Device.CreatePixelShader) |
ID3D11Device::CreatePredicate Creates a predicate. (ID3D11Device.CreatePredicate) |
ID3D11Device::CreateQuery This interface encapsulates methods for querying information from the GPU. (ID3D11Device.CreateQuery) |
ID3D11Device::CreateRasterizerState Create a rasterizer state object that tells the rasterizer stage how to behave. (ID3D11Device.CreateRasterizerState) |
ID3D11Device::CreateRenderTargetView Creates a render-target view for accessing resource data. (ID3D11Device.CreateRenderTargetView) |
ID3D11Device::CreateSamplerState Create a sampler-state object that encapsulates sampling information for a texture. (ID3D11Device.CreateSamplerState) |
ID3D11Device::CreateShaderResourceView Create a shader-resource view for accessing data in a resource. (ID3D11Device.CreateShaderResourceView) |
ID3D11Device::CreateTexture1D Creates an array of 1D textures. |
ID3D11Device::CreateTexture2D Create an array of 2D textures. |
ID3D11Device::CreateTexture3D Create a single 3D texture. |
ID3D11Device::CreateUnorderedAccessView Creates a view for accessing an unordered access resource. (ID3D11Device.CreateUnorderedAccessView) |
ID3D11Device::CreateVertexShader Create a vertex-shader object from a compiled shader. (ID3D11Device.CreateVertexShader) |
ID3D11Device::GetCreationFlags Get the flags used during the call to create the device with D3D11CreateDevice. |
ID3D11Device::GetDeviceRemovedReason Get the reason why the device was removed. (ID3D11Device.GetDeviceRemovedReason) |
ID3D11Device::GetExceptionMode Get the exception-mode flags. (ID3D11Device.GetExceptionMode) |
ID3D11Device::GetFeatureLevel Gets the feature level of the hardware device. (ID3D11Device.GetFeatureLevel) |
ID3D11Device::GetImmediateContext Gets an immediate context, which can play back command lists. (ID3D11Device.GetImmediateContext) |
ID3D11Device::GetPrivateData Get application-defined data from a device. |
ID3D11Device::OpenSharedResource Give a device access to a shared resource created on a different device. |
ID3D11Device::SetExceptionMode Get the exception-mode flags. (ID3D11Device.SetExceptionMode) |
ID3D11Device::SetPrivateData Set data to a device and associate that data with a guid. (ID3D11Device.SetPrivateData) |
ID3D11Device::SetPrivateDataInterface Associate an IUnknown-derived interface with this device child and associate that interface with an application-defined guid. (ID3D11Device.SetPrivateDataInterface) |
Remarks
A device is created using D3D11CreateDevice.
Windows Phone 8: This API is supported.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | d3d11.h |