Skip to main content

Crate cvkg_render_native

Crate cvkg_render_native 

Source
Expand description

§CVKG Agentic Development Guidelines (v1.2)

All AI agents contributing to this crate MUST follow ALL seven rules:

── Karpathy Guidelines (1–4) ────────────────────────────────────────────

  1. THINK FIRST — State assumptions. Surface ambiguity. Push back on complexity.
  2. STAY SIMPLE — Minimum code. No speculative features. No unasked-for abstractions.
  3. BE SURGICAL — Touch only what’s required. Own your orphans. Don’t improve neighbors.
  4. VERIFY GOALS — Turn tasks into checkable criteria. Loop until they pass. Never commit broken.

── CVKG Extended Protocols (5–7) ──────────────────────────────────────── 5. TRIPLE-PASS — Read the target, its surrounding context, and its full call graph 6. COMMENT ALL — Every major pub fn, unsafe block, and non-trivial algorithm in 7. MONITOR LOOPS — Check every tool call / command for progress every 30 seconds.

Sources: Platform-native widget delegation using winit and AccessKit

This crate provides platform-specific rendering backends for native desktop targets

Structs§

NativeAssetManager
A concrete AssetManager for native desktop targets that loads from the local filesystem.
NativeRenderer
Native renderer backend implementing the Renderer trait. It wraps a SurtrRenderer for high-performance GPU drawing.