Golias Engine
A C++ 20 'game engine' built with SDL3 with wide platform support.
Classes | Functions
shader_preprocessor.h File Reference
#include <string>

Go to the source code of this file.

Classes

struct  ShaderSource
 

Functions

ShaderSource parse_shader (const std::string &source)
 
ShaderSource load_shader_file (const char *filepath)
 
std::string get_shader_header ()
 

Function Documentation

◆ get_shader_header()

std::string get_shader_header ( )

◆ load_shader_file()

ShaderSource load_shader_file ( const char *  filepath)

◆ parse_shader()

ShaderSource parse_shader ( const std::string &  source)