diff options
| author | seanpringle <[email protected]> | 2020-09-27 18:29:05 +1000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-09-27 10:29:05 +0200 |
| commit | 4bcddc3b15b394b81cf4bd481ce9c600f6c6d5d8 (patch) | |
| tree | c3697b028cb859d8003703de4bbd15d57f17f9d7 /src/raylib.h | |
| parent | e90b4d8915d593ab57cedfe988da8fbbd18b4408 (diff) | |
| download | raylib-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.h | 1 |
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) |
