Skip to main content

b3DebugMaterial

Type Alias b3DebugMaterial 

Source
pub type b3DebugMaterial = c_int;
Expand description

Debug draw material preset. Optionally packed into the unused high byte of a b3HexColor (or b3SurfaceMaterial::customColor) to drive the renderer’s PBR roughness and metalness. The low 24 bits stay RGB, so a plain 0xRRGGBB color reads as b3_debugMaterialDefault and keeps the renderer’s per-body-type look.