Unravel Engine C++ Reference
Loading...
Searching...
No Matches
batch_key.cpp File Reference
#include "batch_key.h"
#include "mesh.h"
#include "material.h"
#include <base/hash.hpp>
#include <cmath>
#include <compare>
#include <sstream>

Go to the source code of this file.

Namespaces

namespace  unravel
 

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.