Start
Guides
Class List
Files
File List
All
Classes
Files
Functions
Variables
Typedefs
Pages
video
ShaderSource.hpp
Go to the documentation of this file.
1
#pragma once
2
13
#include <string>
14
15
namespace
lumina {
16
17
struct
ShaderSource
{
18
ShaderSource
() =
default
;
19
ShaderSource
(std::string code, std::string filename)
20
: code(code), filename(filename) {}
21
22
std::string code;
23
std::string filename;
24
};
25
33
ShaderSource
loadShaderFromFile(std::string filename);
34
35
}
// namespace lumina
lumina::ShaderSource
Definition:
ShaderSource.hpp:17
Last update on Wed Aug 13 2014 for Lumina v0.1