supportsMaterials

external fun supportsMaterials(scene: Scene): Boolean(source)

Checks if the given Scene supports materials on GroundPrimitives. Materials on GroundPrimitives require support for the WEBGL_depth_texture extension.

Return

Whether or not the current scene supports materials on GroundPrimitives.

Parameters

scene

The current scene.

See also