Skip to content

Documentation / @ripl/core / RendererDebugOptions

Interface: RendererDebugOptions ​

Defined in: packages/core/src/core/renderer.ts:126

Options for enabling debug overlays on the renderer.

Properties ​

PropertyTypeDescriptionDefined in
boundingBoxes?booleanWhether to draw each element's bounding box. Boxes are drawn as a post-pass over the scene buffer in world space, so a transformed element's outline follows its rendered position (a rotated element yields a conservative axis-aligned box). Only leaf elements are outlined; groups are not.packages/core/src/core/renderer.ts:137
elementCount?booleanWhether to overlay the number of elements in the scene buffer.packages/core/src/core/renderer.ts:130
fps?booleanWhether to overlay the current frames-per-second reading.packages/core/src/core/renderer.ts:128