Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

useWebGLPart

useWebGLPart(part): boolean

Whether part, which needs WebGL, draws on this canvas: false under a WebGPURenderer, where the console says, once a page, that the part is off and what to use instead. It says so in an effect, so a render React throws away says nothing.

Parameter Type
part WebGLPart

boolean