[]
        
(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)
Public Sub SetConstantBuffer(dataStream As 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
Public Sub SetConstantBuffer(Of T As Structure)(value As T)
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
Public Sub SetConstantBuffer(Of T As Structure)(ByRef value As T)
Parameters
Type Name Description
T value

Value of the constant buffer

Type Parameters
Name Description
T

Type of the constant buffer