summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2021-03-28 20:12:48 +0200
committerraysan5 <[email protected]>2021-03-28 20:12:48 +0200
commit23a764190e9c8604975f92f02e0fdbb72fce9935 (patch)
tree8b193d8aa56301f0fe7478b7fc75f332ba7d02e0 /src/raylib.h
parentbc6b16beb257fd78eb97a341f92b172c994b5a35 (diff)
downloadraylib-23a764190e9c8604975f92f02e0fdbb72fce9935.tar.gz
raylib-23a764190e9c8604975f92f02e0fdbb72fce9935.zip
ADDED: LoadShaderFromMemory() #1690
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 2c6f40b2..44adb35a 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -1448,6 +1448,7 @@ RLAPI void EndBlendMode(void); // End
// Shader management functions
RLAPI Shader LoadShader(const char *vsFileName, const char *fsFileName); // Load shader from files and bind default locations
+RLAPI Shader LoadShaderFromMemory(const char *vsCode, const char *fsCode); // Load shader from code strings and bind default locations
RLAPI void UnloadShader(Shader shader); // Unload shader from GPU memory (VRAM)
RLAPI int GetShaderLocation(Shader shader, const char *uniformName); // Get shader uniform location
RLAPI int GetShaderLocationAttrib(Shader shader, const char *attribName); // Get shader attribute location