class Diorite::DebugMaterialManager

Overview

Singleton cache managing shared StandardMaterial3D instances for debug rendering.

Configures unshaded materials with vertex-color albedo and maximum render priority to guarantee debug primitives are visibly drawn on top of all other game elements.

Defined in:

diorite/core/debug_material.cr

Class Method Summary

Class Method Detail

def self.material_depth_tested : Godot::StandardMaterial3D #

Returns the shared unshaded 3D material with depth-test enabled for occluded geometry.


[View source]
def self.material_on_top : Godot::StandardMaterial3D #

Returns the shared unshaded 3D material with depth-test disabled and render priority 127.


[View source]