ID2D1DrawInfo interface (d2d1effectauthor.h)

This interface is used to describe a GPU rendering pass on a vertex or pixel shader. It is passed to ID2D1DrawTransform.

Inheritance

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

Methods

The ID2D1DrawInfo interface has these methods.

 
ID2D1DrawInfo::SetPixelShader

Set the shader instructions for this transform.
ID2D1DrawInfo::SetPixelShaderConstantBuffer

Sets the constant buffer for this transform's pixel shader.
ID2D1DrawInfo::SetResourceTexture

Sets the resource texture corresponding to the given shader texture index.
ID2D1DrawInfo::SetVertexProcessing

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

Sets the constant buffer for this transform's vertex shader.

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