DarkBASIC Professional Help File

DX11 RELEASE CAMERA RENDER TARGET

Releases the render target from the camera, which means that camera will not render to it anymore.
Render targets are automatically released when the camera gets deleted.
Note that calling this function will not delete the render target image! You will have to do that yourself
when you are done with it.
Also note that you can just overwrite a render target slot, so you will usually not need to call this function.

Syntax

    DX11 RELEASE CAMERA RENDER TARGET camera, [id]

Parameters

    camera

> Dword
> The camera to release the render target of.

    [Optional] id

> Dword
> The index of the render target to release. Defaults to 0.

Returns

This function does not return a value.

See also

CAMERA Functions Menu
DX11 Function Categories