API Reference > imodeljs-frontend > Rendering > RenderSystemDebugControl RenderSystemDebugControl Interface Beta An interface optionally exposed by a RenderSystem that allows control of various debugging features. Methods Name Description compileAllShaders(): boolean Attempts to compile all shader programs and returns true if all were successful. loseContext(): boolean Destroy this system's webgl context. Properties Name Type Description drawSurfacesAsWiremesh boolean Draw surfaces as "pseudo-wiremesh", using GL_LINES instead of GL_TRIANGLES. Defined in core/frontend/src/render/RenderSystem.ts Line 99 Last Updated: 12 June, 2024