nanoMMO
0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
glsl.h
Go to the documentation of this file.
1
#ifndef NANOMMO_CLIENT_GLSL_H_
2
#define NANOMMO_CLIENT_GLSL_H_
3
4
#include <raylib.h>
5
6
namespace
nanommo
{
7
8
/// A shader from our GLSL 3.30 sources. WebGL 2 takes GLSL ES 3.00, which
9
/// has a version line of its own and needs a precision for floats and ints,
10
/// so in a browser, each source gets those first. A null source is raylib's
11
/// own, as with LoadShaderFromMemory.
12
Shader
LoadGlsl
(
const
char
* vertex,
const
char
* fragment);
13
14
}
// namespace nanommo
15
16
#endif
// NANOMMO_CLIENT_GLSL_H_
nanommo
Definition
chat.cc:9
nanommo::LoadGlsl
Shader LoadGlsl(const char *vertex, const char *fragment)
Definition
glsl.cc:32
client
glsl.h
Generated by
1.15.0