Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D11ComputeShader interface

A compute-shader interface manages an executable program (a compute shader) that controls the compute-shader stage.

Members

The ID3D11ComputeShader interface inherits from ID3D11DeviceChild but does not have additional members.

Remarks

The compute-shader interface has no methods; use HLSL to implement your shader functionality. All shaders are implemented from a common set of features referred to as the common-shader core..

To create a compute-shader interface, call ID3D11Device::CreateComputeShader. Before using a compute shader you must bind it to the device by calling ID3D11DeviceContext::CSSetShader.

This interface is defined in D3D11.h.

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

ID3D11DeviceChild
Shader Interfaces

 

 

Show:
© 2016 Microsoft