ID3D10Device interface

The device interface represents a virtual adapter for Direct3D 10.0; it is used to perform rendering and create Direct3D resources.

Methods

The ID3D10Device interface has these methods.

Method Description
ID3D10Device::CheckCounter Get the type, name, units of measure, and a description of an existing counter.
ID3D10Device::CheckCounterInfo Get a counter's information.
ID3D10Device::CheckFormatSupport Get the support of a given format on the installed video device.
ID3D10Device::CheckMultisampleQualityLevels Get the number of quality levels available during multisampling.
ID3D10Device::ClearDepthStencilView Clears the depth-stencil resource.
ID3D10Device::ClearRenderTargetView Set all the elements in a render target to one value.
ID3D10Device::ClearState Restore all default device settings; return the device to the state it was in when it was created.
ID3D10Device::CopyResource Copy the entire contents of the source resource to the destination resource using the GPU.
ID3D10Device::CopySubresourceRegion Copy a region from a source resource to a destination resource.
ID3D10Device::CreateBlendState Create a blend-state object that encapsules blend state for the output-merger stage.
ID3D10Device::CreateBuffer Create a buffer (vertex buffer, index buffer, or shader-constant buffer).
ID3D10Device::CreateCounter Create a counter object for measuring GPU performance.
ID3D10Device::CreateDepthStencilState Create a depth-stencil state object that encapsulates depth-stencil test information for the output-merger stage.
ID3D10Device::CreateDepthStencilView Create a depth-stencil view for accessing resource data.
ID3D10Device::CreateGeometryShader Create a geometry shader.
ID3D10Device::CreateGeometryShaderWithStreamOutput Creates a geometry shader that can write to streaming output buffers.
ID3D10Device::CreateInputLayout Create an input-layout object to describe the input-buffer data for the input-assembler stage.
ID3D10Device::CreatePixelShader Create a pixel shader.
ID3D10Device::CreatePredicate Creates a predicate.
ID3D10Device::CreateQuery This interface encapsulates methods for querying information from the GPU.
ID3D10Device::CreateRasterizerState Create a rasterizer state object that tells the rasterizer stage how to behave.
ID3D10Device::CreateRenderTargetView Create a render-target view for accessing resource data.
ID3D10Device::CreateSamplerState Create a sampler-state object that encapsulates sampling information for a texture.
ID3D10Device::CreateShaderResourceView Create a shader-resource view for accessing data in a resource.
ID3D10Device::CreateTexture1D Create an array of 1D textures (see Texture1D).
ID3D10Device::CreateTexture2D Create an array of 2D textures (see Texture2D).
ID3D10Device::CreateTexture3D Create a single 3D texture (see Texture3D).
ID3D10Device::CreateVertexShader Create a vertex-shader object from a compiled shader.
ID3D10Device::Draw Draw non-indexed, non-instanced primitives.
ID3D10Device::DrawAuto Draw geometry of an unknown size that was created by the geometry shader stage. See remarks.
ID3D10Device::DrawIndexed Draw indexed, non-instanced primitives.
ID3D10Device::DrawIndexedInstanced Draw indexed, instanced primitives.
ID3D10Device::DrawInstanced Draw non-indexed, instanced primitives.
ID3D10Device::Flush Send queued-up commands in the command buffer to the GPU.
ID3D10Device::GenerateMips Generates mipmaps for the given shader resource.
ID3D10Device::GetCreationFlags Get the flags used during the call to create the device with D3D10CreateDevice.
ID3D10Device::GetDeviceRemovedReason Get the reason why the device was removed.
ID3D10Device::GetExceptionMode Get the exception-mode flags.
ID3D10Device::GetPredication Get the rendering predicate state.
ID3D10Device::GetPrivateData Get data from a device that is associated with a guid.
ID3D10Device::GetTextFilterSize This method is not implemented.
ID3D10Device::GSGetConstantBuffers Get the constant buffers used by the geometry shader pipeline stage.
ID3D10Device::GSGetSamplers Get an array of sampler states from the geometry shader pipeline stage.
ID3D10Device::GSGetShader Get the geometry shader currently set on the device.
ID3D10Device::GSGetShaderResources Get the geometry shader resources.
ID3D10Device::GSSetConstantBuffers Set the constant buffers used by the geometry shader pipeline stage.
ID3D10Device::GSSetSamplers Set an array of sampler states to the geometry shader pipeline stage.
ID3D10Device::GSSetShader Set a geometry shader to the device.
ID3D10Device::GSSetShaderResources Bind an array of shader resources to the geometry shader stage.
ID3D10Device::IAGetIndexBuffer Get a pointer to the index buffer that is bound to the input-assembler stage.
ID3D10Device::IAGetInputLayout Get a pointer to the input-layout object that is bound to the input-assembler stage.
ID3D10Device::IAGetPrimitiveTopology Get information about the primitive type, and data order that describes input data for the input assembler stage.
ID3D10Device::IAGetVertexBuffers Get the vertex buffers bound to the input-assembler stage.
ID3D10Device::IASetIndexBuffer Bind an index buffer to the input-assembler stage.
ID3D10Device::IASetInputLayout Bind an input-layout object to the input-assembler stage.
ID3D10Device::IASetPrimitiveTopology Bind information about the primitive type, and data order that describes input data for the input assembler stage.
ID3D10Device::IASetVertexBuffers Bind an array of vertex buffers to the input-assembler stage.
ID3D10Device::OMGetBlendState Get the blend state of the output-merger stage.
ID3D10Device::OMGetDepthStencilState Gets the depth-stencil state of the output-merger stage.
ID3D10Device::OMGetRenderTargets Get pointers to the render targets and the depth-stencil buffer that are available to the output-merger stage.
ID3D10Device::OMSetBlendState Set the blend state of the output-merger stage.
ID3D10Device::OMSetDepthStencilState Sets the depth-stencil state of the output-merger stage.
ID3D10Device::OMSetRenderTargets Bind one or more render targets and the depth-stencil buffer to the output-merger stage.
ID3D10Device::OpenSharedResource Give a device access to a shared resource created on a different Direct3d device.
ID3D10Device::PSGetConstantBuffers Get the constant buffers used by the pixel shader pipeline stage.
ID3D10Device::PSGetSamplers Get an array of sampler states from the pixel shader pipeline stage.
ID3D10Device::PSGetShader Get the pixel shader currently set on the device.
ID3D10Device::PSGetShaderResources Get the pixel shader resources.
ID3D10Device::PSSetConstantBuffers Set the constant buffers used by the pixel shader pipeline stage.
ID3D10Device::PSSetSamplers Set an array of sampler states to the pixel shader pipeline stage.
ID3D10Device::PSSetShader Sets a pixel shader to the device.
ID3D10Device::PSSetShaderResources Bind an array of shader resources to the pixel shader stage.
ID3D10Device::ResolveSubresource Copy a multisampled resource into a non-multisampled resource. This API is most useful when re-using the resulting rendertarget of one render pass as an input to a second render pass.
ID3D10Device::RSGetScissorRects Get the array of scissor rectangles bound to the rasterizer stage.
ID3D10Device::RSGetState Get the rasterizer state from the rasterizer stage of the pipeline.
ID3D10Device::RSGetViewports Get the array of viewports bound to the rasterizer stage
ID3D10Device::RSSetScissorRects Bind an array of scissor rectangles to the rasterizer stage.
ID3D10Device::RSSetState Set the rasterizer state for the rasterizer stage of the pipeline.
ID3D10Device::RSSetViewports Bind an array of viewports to the rasterizer stage of the pipeline.
ID3D10Device::SetExceptionMode Get the exception-mode flags.
ID3D10Device::SetPredication Set a rendering predicate.
ID3D10Device::SetPrivateData Set data to a device and associate that data with a guid.
ID3D10Device::SetPrivateDataInterface Associate an IUnknown-derived interface with this device and associate that interface with an application-defined guid.
ID3D10Device::SetTextFilterSize This method is not implemented.
ID3D10Device::SOGetTargets Get the target output buffers for the StreamOutput stage of the pipeline.
ID3D10Device::SOSetTargets Set the target output buffers for the StreamOutput stage, which enables/disables the pipeline to stream-out data.
ID3D10Device::UpdateSubresource The CPU copies data from memory to a subresource created in non-mappable memory. See remarks.
ID3D10Device::VSGetConstantBuffers Get the constant buffers used by the vertex shader pipeline stage.
ID3D10Device::VSGetSamplers Get an array of sampler states from the vertex shader pipeline stage.
ID3D10Device::VSGetShader Get the vertex shader currently set on the device.
ID3D10Device::VSGetShaderResources Get the vertex shader resources.
ID3D10Device::VSSetConstantBuffers Set the constant buffers used by the vertex shader pipeline stage.
ID3D10Device::VSSetSamplers Set an array of sampler states to the vertex shader pipeline stage.
ID3D10Device::VSSetShader Set a vertex shader to the device.
ID3D10Device::VSSetShaderResources Bind an array of shader resources to the vertex shader stage.

Remarks

A device is created using D3D10CreateDevice.

Requirements

   
Target Platform Windows
Header d3d10.h

See Also

Core Interfaces