DarkBASIC Professional Help File

DX11 COMPUTE SHADER EXISTS

This function can be used to check whether the given compute shader 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 COMPUTE SHADER EXISTS(shader)

Parameters

    shader

> Dword
> The compute shader resource to check whether it exists.

Returns

true if the given compute shader resource exists, or false otherwise.

See also

DIRECTCOMPUTE Functions Menu
DX11 Function Categories