Class

SkyboxCommand

SkyboxCommand(skybox)

Draw Skyboxes

Constructor

new SkyboxCommand(skybox)

Constructor
Parameters:
Name Type Description
skybox Skybox A Skybox instance

View Source Renderers/Commands/SkyboxCommand.js, line 14

Extends

Methods

static isDefaultProgramLoaded() → {boolean}

Check if the default program is ready, otherwise the function load it

View Source Renderers/Commands/SkyboxCommand.js, line 99

Return true if the default program is loaded
boolean

execute(renderAPI)

Execute the command
Parameters:
Name Type Description
renderAPI RenderAPI RenderAPI instance used to process the commands
Overrides:

View Source Renderers/Commands/SkyboxCommand.js, line 37

isOpaque() → {boolean}

Indicates if the command concern an opaque element
Inherited From:

View Source Renderers/Commands/RenderCommand.js, line 12

True if command must be in the opaque queue
boolean