Toast Engine
Loading...
Searching...
No Matches
renderer::ShaderCache Class Reference

Classes

struct  Entry

Public Member Functions

void compileAllAtStartup ()
auto acquire (toast::UID uid) -> std::shared_ptr< const Entry >
 Thread safe and concurrent calls for one shader share a compile.
auto ensureCompiled (toast::UID uid) -> bool
auto onShaderSourceReloaded (toast::UID uid) -> bool

Static Public Member Functions

static auto get () -> ShaderCache &
static auto fnv1a (const void *data, size_t size) -> uint64_t

The documentation for this class was generated from the following files:
  • engine/src/toast/renderer/shader_cache.hpp
  • engine/src/toast/renderer/shader_cache.cpp