diff options
| author | raysan5 <raysan5@gmail.com> | 2015-05-21 14:13:51 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2015-05-21 14:13:51 +0200 |
| commit | fd851d1d8b4919d802bcc5041f9a9ff37669d159 (patch) | |
| tree | 875c5d4dd13eae08098cba24950359c80b94e729 /src/raylib.h | |
| parent | 9e450df053c9b6f13a89553d65425c350d4399dd (diff) | |
| download | raylib-fd851d1d8b4919d802bcc5041f9a9ff37669d159.tar.gz raylib-fd851d1d8b4919d802bcc5041f9a9ff37669d159.zip | |
Improved custom shaders support
Corrected issues with textures loading
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 4 |
1 files changed, 4 insertions, 0 deletions
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) //------------------------------------------------------------------------------------ |
