Method UpdateData
UpdateData(CommandBuffer, in CBType)
Update the GPU data of the constant buffer via a command buffer.
Declaration
public void UpdateData(CommandBuffer cmd, in CBType data)
Parameters
Type | Name | Description |
---|---|---|
CommandBuffer | cmd | Command Buffer used to execute the graphic commands. |
CBType | data | Input data of the constant buffer. |
UpdateData(in CBType)
Update the GPU data of the constant buffer.
Declaration
public void UpdateData(in CBType data)
Parameters
Type | Name | Description |
---|---|---|
CBType | data | Input data of the constant buffer. |