|  | 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. | 
#include <hjson.h>#include <istream>#include <memory>#include <string>#include <utility>#include <glm/glm.hpp>#include "engine/asset/asset.h"Go to the source code of this file.
| Classes | |
| class | cqsp::asset::Shader | 
| class | cqsp::asset::ShaderProgram | 
| A shader program. More... | |
| class | cqsp::asset::ShaderDefinition | 
| 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. | |
| Typedefs | |
| typedef std::shared_ptr< ShaderProgram > | cqsp::asset::ShaderProgram_t | 
| The preferred way of using a shader program.  More... | |
| Enumerations | |
| enum class | cqsp::asset::ShaderType { cqsp::asset::NONE , cqsp::asset::VERT , cqsp::asset::FRAG , cqsp::asset::GEOM } | 
| Functions | |
| ShaderProgram_t | cqsp::asset::MakeShaderProgram (Shader &vert, Shader &frag) | 
| Helper function to create a shader program.  More... | |
| ShaderProgram_t | cqsp::asset::MakeShaderProgram (Shader &vert, Shader &frag, Shader &geom) | 
| Helper function to create a shader program with a geometry shader.  More... | |
| 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... | |