[]
Sets a single constant buffer to be used by the shader stage.
public void SetConstantBuffer(int slot, Buffer constantBuffer)
| Type | Name | Description |
|---|---|---|
| int | slot | Index into the device's zero-based array to which to set the constant buffer. |
| Buffer | constantBuffer | constant buffer to set |