|
Unravel Engine C++ Reference
|
#include <engine/assets/asset_handle.h>#include <graphics/texture.h>#include <math/math.h>#include <cstdint>#include <memory>#include <optional>#include <string>#include "material.h"Go to the source code of this file.
Classes | |
| struct | unravel::batch_key |
| Batch key structure for grouping compatible draw calls. More... | |
| struct | unravel::shadow_cutout_state |
| Per-draw state for alpha-cutout shadow batches (texture + clip threshold). More... | |
| struct | unravel::shadow_batch_key |
| Batch key for shadow depth passes — geometry-first, optional cutout bucket. More... | |
| struct | std::hash< unravel::batch_key > |
| struct | std::hash< unravel::shadow_batch_key > |
Namespaces | |
| namespace | unravel |
| namespace | std |
| Hash specialization for batch_key to enable use in std::unordered_map. | |
Functions | |
| auto | unravel::make_shadow_batch_key (const std::shared_ptr< mesh > &mesh_ptr, uint32_t lod_index, uint32_t submesh_index, const std::shared_ptr< material > &material_ptr) -> shadow_batch_key |
| Build a shadow batch key from mesh geometry and optional material cutout metadata. | |