forge-stencil-testing

Official

Stencil portals and outlines in SDL GPU.

Authorcode-review-benchmark
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Add stencil buffer testing to an SDL GPU project to enable per-pixel masking, portals, and outlines in real-time graphics.

Core Features & Use Cases

  • Depth-stencil texture setup with stencil bits (e.g., D24_UNORM_S8_UINT) to enable stencil operations.
  • Pipeline state configuration to enable front and back stencil tests and per-draw stencil references.
  • Implement portal rendering by masking and revealing alternate scenes through the stencil mask.
  • Create object outlines and masked overlays using stencil tests for selective rendering.

Quick Start

Enable stencil testing in your SDL GPU project by creating a depth-stencil texture with stencil bits and wiring up the stencil states, then render a simple portal example to verify masking.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: forge-stencil-testing
Download link: https://github.com/code-review-benchmark/coderabbit_prs2__forge-gpu__coderabbit__PR323__20260317/archive/main.zip#forge-stencil-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.