DarkBASIC Professional Help File

DX11 IS BUFFER GPU WRITABLE

Returns true if the given buffer is writable by the GPU, or false otherwise. Whether this will be the case is determined by the ACCESSMODE_XXX constant provided when creating the buffer.

Syntax

    Return Boolean = DX11 IS BUFFER GPU WRITABLE(buffer)

Parameters

    buffer

> Dword
> The buffer to check whether it is GPU-writable or not.

Returns

true if the specified buffer is writable by the GPU or false otherwise.

See also

DIRECTCOMPUTE Functions Menu
DX11 Function Categories