Rehti MMORPG  1.0.0
Rehti MMORPG is a free and open source MMORPG game.
ShaderManager.cpp File Reference
#include "ShaderManager.hpp"
#include <fstream>
#include <iostream>
#include <glslang/Public/ShaderLang.h>
#include <glslang/Include/intermediate.h>
#include <glslang/Public/ResourceLimits.h>
#include <SPIRV/GlslangToSpv.h>
#include "characterShader.vert"
#include "testShader.vert"
#include "objectShader.vert"
#include "mapShader.vert"
#include "characterShader.frag"
#include "objectShader.frag"
#include "testShader.frag"
#include "mapShader.frag"
Include dependency graph for ShaderManager.cpp:

Macros

#define CPP_INCLUDE_SHADERS
 

Variables

std::array< std::string, OBJECT_TYPE_COUNTvertexShaderCodes { characterVertexShaderSource, objectVertexShaderSource, testVertexShaderSource, mapVertexShaderSource }
 
std::array< std::string, OBJECT_TYPE_COUNTfragmentShaderCodes { characterFragmentShaderSource, objectFragmentShaderSource, testFragmentShaderSource, mapFragmentShaderSource }
 

Macro Definition Documentation

◆ CPP_INCLUDE_SHADERS

#define CPP_INCLUDE_SHADERS

Variable Documentation

◆ fragmentShaderCodes

std::array<std::string, OBJECT_TYPE_COUNT> fragmentShaderCodes { characterFragmentShaderSource, objectFragmentShaderSource, testFragmentShaderSource, mapFragmentShaderSource }

◆ vertexShaderCodes

std::array<std::string, OBJECT_TYPE_COUNT> vertexShaderCodes { characterVertexShaderSource, objectVertexShaderSource, testVertexShaderSource, mapVertexShaderSource }