Click or drag to resize
AB4D logo

DXDeviceCreateConstantBuffer Method

CreateConstantBuffer returns a Buffer that represents a constants buffer.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public Buffer CreateConstantBuffer(
	int bufferSize,
	string constantBufferName = null
)

Parameters

bufferSize  Int32
bufferSize
constantBufferName  String  (Optional)
sets the debug name of the created constant name when a Debug DirectX device was created

Return Value

Buffer
Buffer
See Also