Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
Namespaces | Macros | Functions
shader.cpp File Reference
#include "engine/graphics/shader.h"
#include <glad/glad.h>
#include <spdlog/spdlog.h>
#include <map>
#include <string>
#include <utility>
#include <vector>
#include "engine/enginelogger.h"

Namespaces

namespace  cqsp
 
namespace  cqsp::asset
 When adding assets, it is extremely crucial that you read cqsp::asset::AssetLoader::LoadResources to find out how to add a resource to the game.
 

Macros

#define debug_uniforms(program)   (void)0
 

Functions

unsigned int cqsp::asset::LoadShaderData (const std::string &code, int type)
 
unsigned int cqsp::asset::MakeShaderProgram (int vertex, int fragment, int geometry)
 
std::string cqsp::asset::GetErrorLog (unsigned int shader)
 Get the issues of the shader, up to 1024 characters of it. More...
 

Macro Definition Documentation

◆ debug_uniforms

#define debug_uniforms (   program)    (void)0