ID3D11Device interface

The device interface represents a virtual adapter; it is used to create resources.

Members

The ID3D11Device interface inherits from the IUnknown interface. ID3D11Device also has these types of members:

Methods

The ID3D11Device interface has these methods.

MethodDescription
CheckCounter

Get the type, name, units of measure, and a description of an existing counter.

CheckCounterInfo

Get a counter's information.

CheckFeatureSupport

Gets information about the features that are supported by the current graphics driver.

CheckFormatSupport

Get the support of a given format on the installed video device.

CheckMultisampleQualityLevels

Get the number of quality levels available during multisampling.

CreateBlendState

Create a blend-state object that encapsules blend state for the output-merger stage.

CreateBuffer

Creates a buffer (vertex buffer, index buffer, or shader-constant buffer).

CreateClassLinkage

Creates class linkage libraries to enable dynamic shader linkage.

CreateComputeShader

Create a compute shader.

CreateCounter

Create a counter object for measuring GPU performance.

CreateDeferredContext

Creates a deferred context, which can record command lists.

CreateDepthStencilState

Create a depth-stencil state object that encapsulates depth-stencil test information for the output-merger stage.

CreateDepthStencilView

Create a depth-stencil view for accessing resource data.

CreateDomainShader

Create a domain shader .

CreateGeometryShader

Create a geometry shader.

CreateGeometryShaderWithStreamOutput

Creates a geometry shader that can write to streaming output buffers.

CreateHullShader

Create a hull shader.

CreateInputLayout

Create an input-layout object to describe the input-buffer data for the input-assembler stage.

CreatePixelShader

Create a pixel shader.

CreatePredicate

Creates a predicate.

CreateQuery

This interface encapsulates methods for querying information from the GPU.

CreateRasterizerState

Create a rasterizer state object that tells the rasterizer stage how to behave.

CreateRenderTargetView

Creates a render-target view for accessing resource data.

CreateSamplerState

Create a sampler-state object that encapsulates sampling information for a texture.

CreateShaderResourceView

Create a shader-resource view for accessing data in a resource.

CreateTexture1D

Creates an array of 1D textures.

CreateTexture2D

Create an array of 2D textures.

CreateTexture3D

Create a single 3D texture.

CreateUnorderedAccessView

Creates a view for accessing an unordered access resource.

CreateVertexShader

Create a vertex-shader object from a compiled shader.

GetCreationFlags

Get the flags used during the call to create the device with D3D11CreateDevice.

GetDeviceRemovedReason

Get the reason why the device was removed.

GetExceptionMode

Get the exception-mode flags.

GetFeatureLevel

Gets the feature level of the hardware device.

GetImmediateContext

Gets an immediate context, which can play back command lists.

GetPrivateData

Get application-defined data from a device.

OpenSharedResource

Give a device access to a shared resource created on a different device.

SetExceptionMode

Get the exception-mode flags.

SetPrivateData

Set data to a device and associate that data with a guid.

SetPrivateDataInterface

Associate an IUnknown-derived interface with this device child and associate that interface with an application-defined guid.

 

Remarks

A device is created using D3D11CreateDevice.

Windows Phone 8: This API is supported.

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

D3D11.h

Library

D3D11.lib

See also

Core Interfaces

 

 

Community Additions

ADD
Show:
© 2014 Microsoft