Skip to content

Function: device() ​

ts
function device(this: void): render_device;

Get the global render device.

Parameters ​

ParameterType
thisvoid

Returns ​

render_device

Render device.

Remarks ​

Returns the engine-owned Device singleton.