debug-lines

Draw colored lines, grids, axes, circles, and wireframe boxes in SDL3 GPU projects.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/RosyGameStudio/forge-gpu --skill debug-lines
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debug-lines
Source: https://github.com/RosyGameStudio/forge-gpu/tree/main/.claude/skills/debug-lines
Command: npx skills add https://github.com/RosyGameStudio/forge-gpu --skill debug-lines

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides immediate-mode debug drawing capabilities for SDL GPU projects, enabling visualization of spatial data and diagnostic information directly within the 3D environment.

Core Features & Use Cases

  • Diagnostic Visualization: Render colored lines, grids, axes, circles, and wireframe boxes.
  • World-Space & Overlay Modes: Draw elements that are depth-tested or always on top.
  • Use Case: When debugging physics collisions, you can use this Skill to draw wireframe bounding boxes around objects to visually inspect their extents and positions in real-time.

Quick Start

Use the debug-lines skill to draw a wireframe box at the specified coordinates with a given color.

Frequently Asked Questions about debug-lines

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I draw debug lines and wireframe boxes in SDL3 GPU?

Immediate-mode debug line drawing in SDL3 GPU renders colored lines, grids, axes, circles, and wireframe boxes directly within your 3D environment. You call drawing functions at specified coordinates with custom colors to visualize spatial data.

What is immediate-mode debug drawing for 3D graphics?

Immediate-mode debug drawing is a rendering technique that visualizes diagnostic spatial data by drawing temporary colored lines and wireframe boxes directly in the 3D world. It enables real-time inspection of physics collision extents and object boundaries during development.

Can I render debug lines as an overlay that is always on top in SDL GPU?

Yes, debug line rendering in SDL GPU supports both world-space and overlay modes. World-space lines are depth-tested against the 3D environment, while overlay mode renders elements as always-on-top, ensuring diagnostic wireframes remain visible regardless of scene geometry.

How do I visualize physics collision bounding boxes during SDL3 game development?

You can visualize physics collisions by drawing wireframe boxes around objects using debug line drawing functions in SDL3 GPU. This allows you to inspect the extents and positions of collision boundaries in real-time directly within your 3D environment.

Does this debug drawing skill support rendering grids and axes for 3D visualization?

Yes, the debug drawing skill supports rendering grids and axes alongside lines, circles, and wireframe boxes. These elements help visualize the 3D world space and provide spatial reference points for diagnostic rendering in SDL GPU projects.