DarkBASIC Professional Help File

DX11 SET CAMERA BACKDROP

Sets the backdrop colour that the camera is cleared to before each render pass.
You can optionally set different backdrop colours for each render target, if applicable.

Syntax

    DX11 SET CAMERA BACKDROP camera, colour, [id]

Parameters

    camera

> Dword
> The camera to set the backdrop colour of.

    colour

> Dword
> The colour to use to clear the render target of the camera to before each draw pass.

    [Optional] id

> Dword
> The render target id to set the backdrop colour of (valid range [0..7], only stage 0 is valid in DX10 compatibility mode). If omitted all render targets will be assigned the backdrop colour.

Returns

This function does not return a value.

See also

CAMERA Functions Menu
DX11 Function Categories