Function TRAP::Graphics::ShaderManager::Remove(const Ref<Shader>&)#

Function Documentation#

Ref<Shader> TRAP::Graphics::ShaderManager::Remove(const Ref<Shader> &shader)#

Remove a shader from the ShaderManager.

Parameters:

shaderShader to remove.

Returns:

Removed shader on success, nullptr otherwise.