diff options
| author | raysan5 <[email protected]> | 2021-03-28 20:12:48 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2021-03-28 20:12:48 +0200 |
| commit | 23a764190e9c8604975f92f02e0fdbb72fce9935 (patch) | |
| tree | 8b193d8aa56301f0fe7478b7fc75f332ba7d02e0 /src/raylib.h | |
| parent | bc6b16beb257fd78eb97a341f92b172c994b5a35 (diff) | |
| download | raylib-23a764190e9c8604975f92f02e0fdbb72fce9935.tar.gz raylib-23a764190e9c8604975f92f02e0fdbb72fce9935.zip | |
ADDED: LoadShaderFromMemory() #1690
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 1 |
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 |
