ID2D1ComputeInfo interface
Enables specification of information for a compute-shader rendering pass.
Members
The ID2D1ComputeInfo interface inherits from the IUnknown interface. ID2D1ComputeInfo also has these types of members:
Methods
The ID2D1ComputeInfo interface has these methods.
| Method | Description |
|---|---|
| SetComputeShader |
Sets the compute shader to the given shader resource. The resource must be loaded before this call is made. |
| SetComputeShaderConstantBuffer |
Establishes or changes the constant buffer data for this transform. |
| SetResourceTexture |
Sets the resource texture corresponding to the given shader texture index to the given texture resource. |
Remarks
The transform changes the state on this render information to specify the compute shader and its dependent resources.
Requirements
|
Minimum supported client |
Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|
|
Library |
|