Function TRAP::Graphics::ShaderManager::Get#

Function Documentation#

Ref<Shader> TRAP::Graphics::ShaderManager::Get(std::string_view name, RendererAPI::ShaderType shaderType)#

Retrieve a shader from the ShaderManager.

Parameters:
  • name – Name of the shader to retrieve.

  • shaderType – Type of the shader to retrieve.

Returns:

Shader, Fallback shader if not found.