[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.DrawInformation

DrawInformation Class

ID2D1DrawInfo

Implements
Namespace: C1.Util.DX.Direct2D
Assembly: C1.Win.C1DX.4.8.dll
Syntax
[Guid("693ce632-7f2f-45de-93fe-18d88b37aa21")]
public class DrawInformation : RenderInformation, IDisposable, IUnknown

Constructors

Name Description
DrawInformation(IntPtr)

Initializes a new instance of the DrawInformation class.

Methods

Name Description
SetPixelConstantBuffer(DataStream)

Sets the constant buffer data from a DataStream for the Pixel stage.

SetPixelConstantBuffer<T>(ref T)

Sets the constant buffer data from a struct value for the Pixel Stage.

SetPixelShader(Guid, PixelOptions)

HRESULT ID2D1DrawInfo::SetPixelShader([In] const GUID& shaderId,[In] D2D1_PIXEL_OPTIONS pixelOptions)

SetPixelShaderConstantBuffer(IntPtr, int)

HRESULT ID2D1DrawInfo::SetPixelShaderConstantBuffer([In, Buffer] const void* buffer,[In] unsigned int bufferCount)

SetResourceTexture(int, ResourceTexture)

HRESULT ID2D1DrawInfo::SetResourceTexture([In] unsigned int textureIndex,[In] ID2D1ResourceTexture* resourceTexture)

SetVertexConstantBuffer(DataStream)

Sets the constant buffer data from a DataStream for the Vertex stage.

SetVertexConstantBuffer<T>(ref T)

Sets the constant buffer data from a struct value for the Vertex Stage.

SetVertexProcessing(VertexBuffer, VertexOptions, BlendDescription?, VertexRange?, Guid?)

HRESULT ID2D1DrawInfo::SetVertexProcessing([In, Optional] ID2D1VertexBuffer* vertexBuffer,[In] D2D1_VERTEX_OPTIONS vertexOptions,[In, Optional] const D2D1_BLEND_DESCRIPTION* blendDescription,[In, Optional] const D2D1_VERTEX_RANGE* vertexRange,[In, Optional] const GUID* vertexShader)

SetVertexShaderConstantBuffer(IntPtr, int)

HRESULT ID2D1DrawInfo::SetVertexShaderConstantBuffer([In, Buffer] const void* buffer,[In] unsigned int bufferCount)

Operators

Name Description
explicit operator DrawInformation(IntPtr)

Performs an explicit conversion from IntPtr to DrawInformation.