Table of Contents

Interface IDrawInfo

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

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

public interface IDrawInfo : IRenderInfo, IObjectRef, IIsDisposed, IDisposable, IInternalImpl
Inherited Members
Extension Methods

Methods

SetPixelShader(in ShaderID, PixelOptions)

Set the shader instructions for this transform.

SetPixelShaderConstantBuffer(ReadOnlySpan<byte>)

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

SetResourceTexture(int, IResourceTexture)

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