added debug-event-markers for opengl so that you're able to set markers for renderdoc or other gpu debuggers what your program is currently doing

This commit is contained in:
user
2017-12-14 11:44:48 +01:00
parent 963551ee6e
commit 0e18b14605
3 changed files with 36 additions and 0 deletions

View File

@@ -440,6 +440,9 @@ void rlUpdateMesh(Mesh mesh, int buffer, int numVertex); // Update ve
void rlDrawMesh(Mesh mesh, Material material, Matrix transform); // Draw a 3d mesh with material and transform
void rlUnloadMesh(Mesh *mesh); // Unload mesh data from CPU and GPU
// Debug Marker for Analysis
void rlSetMarker(const char *text);
// NOTE: There is a set of shader related functions that are available to end user,
// to avoid creating function wrappers through core module, they have been directly declared in raylib.h