luna engine
software engine
Loading...
Searching...
No Matches
luna::utils::shaderLibrary Class Reference

#include <shaderLibrary.h>

Collaboration diagram for luna::utils::shaderLibrary:

Static Public Member Functions

static void init ()
 
static void load (const std::string &filePath, const renderer::shaderStage &stage)
 
static ref< renderer::shaderget (const std::string &shaderName)
 

Static Private Attributes

static std::unordered_map< std::string, ref< renderer::shader > > shaders
 

Member Function Documentation

◆ get()

ref< renderer::shader > luna::utils::shaderLibrary::get ( const std::string &  shaderName)
static

◆ init()

void luna::utils::shaderLibrary::init ( )
static

◆ load()

void luna::utils::shaderLibrary::load ( const std::string &  filePath,
const renderer::shaderStage stage 
)
static

Member Data Documentation

◆ shaders

std::unordered_map<std::string, ref<renderer::shader> > luna::utils::shaderLibrary::shaders
inlinestaticprivate

The documentation for this class was generated from the following files: