#include <ShaderRegistry.h>
Definition at line 10 of file ShaderRegistry.h.
◆ ShaderRegistry()
| hellfire::ShaderRegistry::ShaderRegistry |
( |
ShaderManager * |
manager | ) |
|
|
inline |
◆ clear()
| void hellfire::ShaderRegistry::clear |
( |
| ) |
|
|
inline |
◆ get_shader()
| Shader * hellfire::ShaderRegistry::get_shader |
( |
const std::string & |
name | ) |
|
|
inline |
◆ get_shader_from_id()
| Shader * hellfire::ShaderRegistry::get_shader_from_id |
( |
uint32_t |
program_id | ) |
|
|
inline |
◆ load_and_get_shader() [1/2]
◆ load_and_get_shader() [2/2]
| Shader * hellfire::ShaderRegistry::load_and_get_shader |
( |
const std::string & |
vertex_path, |
|
|
const std::string & |
fragment_path |
|
) |
| |
|
inline |
◆ id_to_shader_map_
| std::unordered_map<uint32_t, Shader*> hellfire::ShaderRegistry::id_to_shader_map_ |
|
private |
◆ shader_manager_
◆ shader_wrappers_
| std::unordered_map<std::string, std::unique_ptr<Shader> > hellfire::ShaderRegistry::shader_wrappers_ |
|
private |
The documentation for this class was generated from the following file: