From fd851d1d8b4919d802bcc5041f9a9ff37669d159 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Thu, 21 May 2015 14:13:51 +0200 Subject: Improved custom shaders support Corrected issues with textures loading --- src/raylib.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/raylib.h') diff --git a/src/raylib.h b/src/raylib.h index 0eafa390..851521e4 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -430,6 +430,10 @@ void SetPawnControl(int pawnControlKey); void SetFnControl(int fnControlKey); void SetSmoothZoomControl(int smoothZoomControlKey); +int GetShaderLocation(Shader shader, const char *uniformName); +void SetShaderValue(Shader shader, int uniformLoc, float *value, int size); +void SetShaderTexture(Shader shader, int uniformLoc, Texture2D texture); + //------------------------------------------------------------------------------------ // Input Handling Functions (Module: core) //------------------------------------------------------------------------------------ -- cgit v1.2.3