[]
Sets the constant buffer data from a DataStream for the Vertex stage.
public void SetVertexConstantBuffer(DataStream dataStream)
Type | Name | Description |
---|---|---|
DataStream | dataStream | The DataStream that contains the constant buffer data |
Sets the constant buffer data from a struct value for the Vertex Stage.
public void SetVertexConstantBuffer<T>(ref T value) where T : struct
Type | Name | Description |
---|---|---|
T | value | Value of the constant buffer |
Name | Description |
---|---|
T | Type of the constant buffer |