DarkBASIC Professional Help File

DX11 SET APPEND CONSUME BUFFER ELEMENT COUNT

Sets the internal append/consume buffer element count used by the GPU to determine where to insert / "remove" data from the buffer using the Append and Consume object functions.
Note that the append/consume buffer is a fixed-size buffer and for that reason you cannot set the count beyond the maximum number of elements the buffer was created to accomodate.

Syntax

    DX11 SET APPEND CONSUME BUFFER ELEMENT COUNT appendConsumeBuffer, count

Parameters

    appendConsumeBuffer

> Dword
> The append/consume buffer to set the current element count of.

    count

> Integer
> The new element count to set for the specified buffer. Set to -1 to preserve the current element count.

Returns

This function does not return a value.

See also

DIRECTCOMPUTE Functions Menu
DX11 Function Categories