Arnold Engine
 
Loading...
Searching...
No Matches
AE::Graphics::Renderer::Shader Class Reference

Manages compilation and usage of GPU shader programs. More...

#include <Shader.h>

Public Member Functions

 Shader (const std::string &vertexSrc, const std::string &fragmentSrc)
 
void Bind () const
 
void Unbind () const
 
void UploadUniformMat4 (const std::string &name, const glm::mat4 &matrix) const
 

Detailed Description

Manages compilation and usage of GPU shader programs.

Handles the creation, compilation, and usage of shader programs for rendering. Supports vertex and fragment shaders with potential for expansion to other types.

Features:

  • Shader compilation and linking
  • Error checking and reporting
  • Program binding and unbinding
  • Resource cleanup
Note
Currently supports GLSL shaders through OpenGL

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