ID2D1ComputeInfo interface (d2d1effectauthor.h)

Enables specification of information for a compute-shader rendering pass.

Inheritance

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

Methods

The ID2D1ComputeInfo interface has these methods.

 
ID2D1ComputeInfo::SetComputeShader

Sets the compute shader to the given shader resource. The resource must be loaded before this call is made.
ID2D1ComputeInfo::SetComputeShaderConstantBuffer

Establishes or changes the constant buffer data for this transform.
ID2D1ComputeInfo::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

Requirement Value
Minimum supported client Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d2d1effectauthor.h