Click or drag to resize
AB4D logo

ContextStatesManagerSetGeometryShaderConstantBuffer Method

Sets the constant buffer for the specified slot in the geometry shader

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
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