Brunot
Loading...
Searching...
No Matches
Shader.cpp File Reference
#include "Shader.h"
#include "System/opengl.h"
#include <fstream>
#include <sstream>
#include <spdlog/spdlog.h>
#include <Eigen/Dense>
#include "Mesh.h"
#include "System/Camera.h"
#include "System/Logging.h"
Include dependency graph for Shader.cpp:

Functions

static auto printShaderError (GLuint shaderID) -> void
static auto printProgramError (GLuint programID) -> void
static auto setGlobalUniforms (const Shader &shader) -> void
auto to_json (json &j, const Shader &a) ->void
auto from_json (const json &j, Shader &a) ->void

Function Documentation

◆ from_json()

auto from_json ( const json & j,
Shader & a )->void

◆ printProgramError()

auto printProgramError ( GLuint programID) ->void
static
Here is the caller graph for this function:

◆ printShaderError()

auto printShaderError ( GLuint shaderID) ->void
static
Here is the caller graph for this function:

◆ setGlobalUniforms()

auto setGlobalUniforms ( const Shader & shader) ->void
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ to_json()

auto to_json ( json & j,
const Shader & a )->void