Click or drag to resize
AB4D logo

ContexStatesManagerSetGeometryShaderConstantBuffer Method

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

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