|
ContextStatesManagerSetGeometryShaderConstantBuffer Method |
Sets the constant buffer for the specified slot in the geometry shader
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax public void SetGeometryShaderConstantBuffer(
Buffer constantBuffer,
int slot,
bool forceOverrideExistingBuffer = true
)
Parameters
- constantBuffer Buffer
- constant buffer
- slot Int32
- slot number
- forceOverrideExistingBuffer Boolean (Optional)
- 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