ID2D1DrawInfo interface

Applies to: desktop apps only

Describes a graphics processing unit (GPU) rendering pass on a vertex or pixel shader.

When to implement

Custom implementations are not supported.

Members

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

  • Methods

Methods

The ID2D1DrawInfo interface has these methods.

Method Description
SetConstantBuffer

Sets the constant buffer data that will be passed to the pixel shader specified for the render pass.

SetPixelShader

Sets the shader instructions for this transform.

SetResourceTexture

Sets the resource texture that corresponds to the specified shader texture index to the specified texture resource.

SetVertexProcessing

Sets a vertex buffer, a corresponding vertex shader, and options to control how the vertices are to be handled by the Direct2D context.

SetVertexShaderConstantBuffer

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

 

Remarks

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

D2d1effectauthor.h

Library

D2d1.lib

See also

ID2D1DrawTransform::SetRenderInfo

 

 

Send comments about this topic to Microsoft

Build date: 9/5/2012