Display

self:destroy

Client

Destroys the display texture instance

Syntax

local status = self:destroy()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Destroy a display instance
local entity = core.display.get_texture()

entity:destroy()

On this page