DarkBASIC Professional Help File

DX11 CBUFFER EXISTS

This function can be used to check whether the given cbuffer resource exists.
It's main purpose is for debugging to check if the resource has yet been created, has since been deleted or if the provided
resource identifier is invalid, such as would be the case for a mistyped variable name.

Syntax

    Return Boolean = DX11 CBUFFER EXISTS(cbuffer)

Parameters

    cbuffer

> Dword
> The cbuffer resource to check whether it exists.

Returns

true if the given cbuffer resource exists, or false otherwise.

See also

CONSTANTBUFFER Functions Menu
DX11 Function Categories