Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID2D1DrawInfo interface

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

Members

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

Methods

The ID2D1DrawInfo interface has these methods.

MethodDescription
SetPixelShader

Set the shader instructions for this transform.

SetPixelShaderConstantBuffer

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

SetResourceTexture

Sets the resource texture corresponding to the given shader texture index.

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

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

 

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

D2d1effectauthor.h

DLL

D2d1.dll

 

 

Show:
© 2017 Microsoft