#include <AShader.h>
◆ AShader() [1/2]
| AShader::AShader |
( |
int | vertResID, |
|
|
int | fragResID ) |
Constructor for AShader class that initializes a shader program by loading vertex and fragment shaders from resources.
- Parameters
-
| vertResID | Resource ID for the vertex shader |
| fragResID | Resource ID for the fragment shader |
◆ AShader() [2/2]
| AShader::AShader |
( |
std::string_view | vPath, |
|
|
std::string_view | fPath ) |
◆ ~AShader()
Destructor for AShader class Cleans up the shader program by deleting it from OpenGL
◆ CheckCompileErrors()
| void AShader::CheckCompileErrors |
( |
uint32_t | shader, |
|
|
std::string | type ) |
◆ GetID()
| uint32_t AShader::GetID |
( |
| ) |
const |
|
inline |
◆ Use()
Activates the shader program This function makes the shader program the active one for rendering operations
The documentation for this class was generated from the following files: