Vyroda
Game engine made by hand, with modern C++ and Vulkan.
Loading...
Searching...
No Matches
Vyroda::ShaderManager Class Referenceexport

Public Member Functions

 ShaderManager (Renderer &renderer)
void addShader (std::string const &name, std::string const &vert_path, std::string const &frag_path, std::string const &geom_path, std::string const &tese_path, std::string const &tesc_path)
void clear ()
VulkanShadersgetShaders () const
std::function< void(std::latch &count_down)> load (json config)

Constructor & Destructor Documentation

◆ ShaderManager()

Vyroda::ShaderManager::ShaderManager ( Renderer & renderer)
explicit

Member Function Documentation

◆ addShader()

void Vyroda::ShaderManager::addShader ( std::string const & name,
std::string const & vert_path,
std::string const & frag_path,
std::string const & geom_path,
std::string const & tese_path,
std::string const & tesc_path )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ clear()

void Vyroda::ShaderManager::clear ( )

◆ getShaders()

VulkanShaders * Vyroda::ShaderManager::getShaders ( ) const
inline

◆ load()

std::function< void(std::latch &count_down)> Vyroda::ShaderManager::load ( json config)
Here is the call graph for this function:

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