 |
ContexStatesManagerSetVertexShaderConstantBuffer Method |
Sets the constant buffer for the specified slot in the vertex shader
Namespace:
Ab3d.DirectX
Assembly:
Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 2.1.6262.1040
Syntaxpublic void SetVertexShaderConstantBuffer(
Buffer constantBuffer,
int slot,
bool forceOverrideExistingBuffer = true
)
Parameters
- constantBuffer
- Type: Buffer
constant buffer - slot
- Type: SystemInt32
slot number - forceOverrideExistingBuffer (Optional)
- Type: SystemBoolean
if true (by default) the constant buffer is set even if the reference for the existing constant buffer is the same - the values inside constant buffer are not checked for equality
See Also