Class ResourceSamplerRegistry
Defined in File resource_sampler.hpp
Class Documentation
-
class ResourceSamplerRegistry
Thread-safe registry mapping collection names to sampling functions.
Public Functions
-
void register_sampler(const std::string &collection, ResourceSamplerFn fn, bool is_builtin = false)
-
std::optional<ResourceSamplerFn> get_sampler(const std::string &collection) const
-
bool has_sampler(const std::string &collection) const
-
void register_sampler(const std::string &collection, ResourceSamplerFn fn, bool is_builtin = false)