[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.DrawInformation.SetPixelConstantBuffer

SetPixelConstantBuffer Method

SetPixelConstantBuffer(DataStream)

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

Declaration
public void SetPixelConstantBuffer(DataStream dataStream)
Parameters
Type Name Description
DataStream dataStream

The DataStream that contains the constant buffer data

SetPixelConstantBuffer<T>(ref T)

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

Declaration
public void SetPixelConstantBuffer<T>(ref T value) where T : struct
Parameters
Type Name Description
T value

Value of the constant buffer

Type Parameters
Name Description
T

Type of the constant buffer