ID2D1ComputeInfo interface

[This documentation is preliminary and is subject to change.]

Applies to: desktop apps only

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

When to implement

Custom implementations are not supported.

Members

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

  • Methods

Methods

The ID2D1ComputeInfo interface has these methods.

Method Description
SetComputeShader

Sets the compute shader to the specified shader resource.

SetConstantBuffer

Establishes or changes the constant buffer data that will be passed to the compute shader specified for the render pass.

SetResourceTexture

Sets the resource texture corresponding to the specified shader texture index to the specified 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 Consumer Preview

Minimum supported server

Windows Server 8 Beta

Header

ID2D1EffectAuthor.h

Library

ID2D1.lib

See also

ID2D1Transform

 

 

Build date: 3/7/2012