Rune Engine  Version 0.2.7-alpha
Documentation for how to make games using the Rune Engine.
rune::ShaderProgramSource Struct Reference

Compilable GLSL code generated by the shader file. More...

#include <shader.h>

Public Member Functions

 ShaderProgramSource (std::string const &vertex, std::string const &frag)
 

Public Attributes

std::string VertexSource
 The vertex shader code to be compiled.
 
std::string FragmentSource
 The fragment shader code to be compiled.
 

Detailed Description

Compilable GLSL code generated by the shader file.

Constructor & Destructor Documentation

◆ ShaderProgramSource()

rune::ShaderProgramSource::ShaderProgramSource ( std::string const &  vertex,
std::string const &  frag 
)
inline
Parameters
vertexThe code to be used for the vertex shader.
fragThe code to be used for the fragment shader.

The documentation for this struct was generated from the following file: