ADDED: LoadShaderFromMemory() #1690

This commit is contained in:
raysan5 2021-03-28 20:12:48 +02:00
parent bc6b16beb2
commit 23a764190e
2 changed files with 45 additions and 0 deletions

View file

@ -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