[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.ComputeInformation.SetConstantBuffer

SetConstantBuffer Method

SetConstantBuffer(DataStream)

Sets the constant buffer data from a DataStream.

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

The DataStream that contains the constant buffer data

SetConstantBuffer<T>(T)

Sets the constant buffer data from a struct value.

Declaration
public void SetConstantBuffer<T>(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

SetConstantBuffer<T>(ref T)

Sets the constant buffer data from a struct value.

Declaration
public void SetConstantBuffer<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