Skip to content

Class pinnacle.debug

Debugging utilities.

WARNING

This module is not governed by the API stability guarantees.

Functions

function set_damage_visualization

function pinnacle.debug.set_damage_visualization(set: boolean)

Sets damage visualization.

When on, parts of the screen that are damaged after rendering will have red rectangles drawn where the damage is.

Parameters

set: boolean

function toggle_damage_visualization

function pinnacle.debug.toggle_damage_visualization()

Toggles damage visualization.

When on, parts of the screen that are damaged after rendering will have red rectangles drawn where the damage is.

function set_opaque_region_visualization

function pinnacle.debug.set_opaque_region_visualization(set: boolean)

Sets opaque region visualization.

When on, parts of the screen that are opaque will have a transparent blue rectangle drawn over it, while parts that are not opaque will have a transparent red rectangle drawn.

Parameters

set: boolean

function toggle_opaque_region_visualization

function pinnacle.debug.toggle_opaque_region_visualization()

Toggles opaque region visualization.

When on, parts of the screen that are opaque will have a transparent blue rectangle drawn over it, while parts that are not opaque will have a transparent red rectangle drawn.

Last updated: