summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorseanpringle <[email protected]>2020-09-27 18:29:05 +1000
committerGitHub <[email protected]>2020-09-27 10:29:05 +0200
commit4bcddc3b15b394b81cf4bd481ce9c600f6c6d5d8 (patch)
treec3697b028cb859d8003703de4bbd15d57f17f9d7 /src/raylib.h
parente90b4d8915d593ab57cedfe988da8fbbd18b4408 (diff)
downloadraylib-4bcddc3b15b394b81cf4bd481ce9c600f6c6d5d8.tar.gz
raylib-4bcddc3b15b394b81cf4bd481ce9c600f6c6d5d8.zip
[wip] rlDrawMeshInstanced (#1318)
* rlDrawMeshInstanced first attempt * rlDrawMeshInstanced OpenGL 3.3 and VAO checks * rlDrawMeshInstanced GetShaderAttribLocation; comments * example instanced shader * RLGL_STANDALONE RAYMATH_STANDALONE Vector4 * apply suggested naming changes; add instanced mesh example * remove orphan variables
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 499650c6..15ff9554 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -1372,6 +1372,7 @@ RLAPI void SetShapesTexture(Texture2D texture, Rectangle source); // Def
// Shader configuration functions
RLAPI int GetShaderLocation(Shader shader, const char *uniformName); // Get shader uniform location
+RLAPI int GetShaderLocationAttrib(Shader shader, const char *attribName); // Get shader attribute location
RLAPI void SetShaderValue(Shader shader, int uniformLoc, const void *value, int uniformType); // Set shader uniform value
RLAPI void SetShaderValueV(Shader shader, int uniformLoc, const void *value, int uniformType, int count); // Set shader uniform value vector
RLAPI void SetShaderValueMatrix(Shader shader, int uniformLoc, Matrix mat); // Set shader uniform value (matrix 4x4)