self:destroy

Client

Destroys the rendertarget instance and frees its resources


Syntax

local status = self:destroy()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Destroy a rendertarget instance
local entity = core.rendertarget.create(1920, 1080, false)

entity:destroy()

On this page