Runtime.AssetHub (Visera.Runtime.AssetHub)¶
Runtime.AssetHub provides runtime asset loading and management: image (PNG, EXR, etc.), font (FreeType), shader, and generic Asset type and lifecycle. Load results feed RHI resources (texture, buffer) or graphics pipeline (shader, material) for Graphics and game logic.
Responsibilities¶
- Asset: Generic asset type and load/unload interface; base or concept for concrete assets.
- Image: Load image from disk or memory; PNG, EXR and common formats; Common type and Wrapper for RHI texture.
- Font: Font load and rasterization; FreeType backend; for UI or text rendering.
- Shader: Shader asset load (source or bytecode) for RHI and pipeline cache.
Submodules¶
| Module | Description |
|---|---|
| Asset | Generic Asset type and lifecycle. |
| Image | Image loading: Common, PNG, EXR, Wrapper. |
| Font | Font loading; FreeType implementation. |
| Shader | Shader asset loading. |
See also¶
- Runtime — Parent module
- RHI.Resource — Texture and shader resources
- Core.Image — Core image and pixel types