← Zurück zu Flint
AgentFlint

Skill · Version 1.0.0

raylib-Rendering und Shader

Bringt Zeichenphasen und Shader-Ressourcen in eine nachvollziehbare Reihenfolge. Verhindert Zustandsfehler und wiederholte Ressourcenerzeugung beim Zusammenspiel von Welt, Effekten und Oberfläche.

raylib-rendering-shaders

Entdecke, wie der Skill hilft

Wann ist der Skill hilfreich?

Nutze diesen Skill für Offscreen-Effekte oder gemischte 2D-, 3D- und UI-Ausgabe.

Wobei hilft er dir?

  • Ordnet zusammengehörige Zeichen- und Modusgrenzen ohne Besitzkonflikte.
  • Vermeidet Ressourcenerstellung in wiederholten Zeichenpfaden.
  • Prüft Shadersprache und Parameter auf der Zielplattform.

Das könntest du fragen

Rendere die Welt unseres Retro-Shooters niedrig aufgelöst und das HUD scharf. Ändere die Fenstergröße und schalte einen Schadensshader um. Prüfe passende Zeichengrenzen, Zielneuerstellung und Shader-Unterstützung: Das HUD bleibt scharf, Render-Ziele entstehen nicht pro Frame neu.

Ausführliche Dokumentation

Hier findest du die ursprüngliche Anleitung, Beispiele und Prüfschritte des Skills in ihrer Originalsprache.

Details…Weniger anzeigen

raylib — rendering shaders

Use when changing raylib batching, 2D/3D rendering, render textures or shaders.

Version and project gate

Inspect The local raylib.h version, linked library, C/C++ build system, platform backend, asset paths, compile flags and ownership conventions. Match the cheatsheet to the linked version rather than assuming the current website API. Never turn a task into an engine upgrade without the user’s intent. Read the version-matching official reference when an API decision depends on it.

Work

Map Begin/End drawing, mode and render-target scopes. Keep resource creation out of repeated drawing paths. Match GLSL version and uniform semantics to the target platform. Measure state changes and pixel-heavy effects before introducing custom rendering layers.

Deliver

A scoped rendering patch with correct nesting and shader/platform requirements. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.

Failure to prevent

Desktop GLSL examples may not compile on GLES/Web targets; nested mode ownership can leak render state.

Acceptance scenario

Render representative sprites, text, 3D geometry and an offscreen effect, then verify state is restored for the next pass. Follow the project’s execution and verification permissions. If execution or a target device is unavailable, provide the reproduction steps and name the remaining uncertainty; do not mark it passed.

Scope and sources

This skill belongs to Flint. Agent selection is restricted by Orqestria’s assigned-agent policy, including forced skill selection; instruction text alone is not an access control. These are original task workflows researched from official documentation, not a copied or endorsed vendor skill.

Enthaltene Dateien 1

  • SKILL.md