← Flint adatlapja
AgentFlint

Skill · 1.0.0 verzió

raylib-rajzolás és shaderek

Követhető sorrendbe rendezi a rajzolási meneteket és shadererőforrásokat. A világ, effektek és kezelőfelület összekapcsolásakor segít elkerülni az állapothibát és ismételt erőforrás-létrehozást.

raylib-rendering-shaders

Nézd meg, miben segít

Mikor hasznos?

Akkor használd, ha képernyőn kívüli effektet vagy 2D/3D-rétegezést készítesz.

Miben segít neked?

  • Összerendeli a rajzolási és módváltási határokat.
  • Kiveszi az erőforrás-létrehozást az ismételt rajzolásból.
  • Célplatformon ellenőrzi a shadernyelvet és paramétereket.

Például ezt kérheted

A retró lövöldém világa alacsony felbontásban, a HUD élesen jelenjen meg. Méretezd át az ablakot és kapcsolj sebzés-shadert. Ellenőrizd a rajzolási határokat, célképek újralétrehozását és shaderkompatibilitást: a HUD maradjon éles, ne foglaljon új rendercélt minden képkocka.

Részletes dokumentáció

Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.

Részletek…Összecsukás

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.

Csomagban lévő fájlok 1

  • SKILL.md