|
shengine pre-release
shengine by mrsinho
|
#include <GLFW/glfw3.h>#include "shengine/shEngine.h"#include "shengine/shProfiling.h"#include <stdlib.h>#include <string.h>Macros | |
| #define | GLFW_INCLUDE_NONE |
Functions | |
| uint8_t | shProfilingTimerStart (ShProfilingTimer *p_timer, ShProfilingTimerType type) |
| Starts the specified profiling timer. | |
| uint8_t | shProfilingTimerEnd (ShProfilingTimer *p_timer, ShProfilingTimerType type) |
| Ends the specified profiling timer. | |
| uint8_t | shProfilingTimerSetExtCount (ShProfilingTimer *p_timer, uint32_t ext_count) |
| Sets the count of extension timers in the ShProfilingTimer structure. | |
| uint8_t | shProfilingTimerStartExt (ShProfilingTimer *p_timer, SmdVarName name, uint32_t timer_idx) |
| Starts an extension profiling timer with the specified name and index. | |
| uint8_t | shProfilingTimerEndExt (ShProfilingTimer *p_timer, uint32_t timer_idx) |
| Ends an extension profiling timer with the specified index. | |
| #define GLFW_INCLUDE_NONE |
| uint8_t shProfilingTimerEnd | ( | ShProfilingTimer * | p_timer, |
| ShProfilingTimerType | type | ||
| ) |
Ends the specified profiling timer.
| p_timer | Pointer to a valid ShProfilingTimer structure. |
| type | Type of the profiling timer to end. |
| uint8_t shProfilingTimerEndExt | ( | ShProfilingTimer * | p_timer, |
| uint32_t | timer_idx | ||
| ) |
Ends an extension profiling timer with the specified index.
| p_timer | Pointer to a valid ShProfilingTimer structure. |
| timer_idx | Index of the extension timer. |
| uint8_t shProfilingTimerSetExtCount | ( | ShProfilingTimer * | p_timer, |
| uint32_t | ext_count | ||
| ) |
Sets the count of extension timers in the ShProfilingTimer structure.
| p_timer | Pointer to a valid ShProfilingTimer structure. |
| ext_count | Count of extension timers. |
| uint8_t shProfilingTimerStart | ( | ShProfilingTimer * | p_timer, |
| ShProfilingTimerType | type | ||
| ) |
Starts the specified profiling timer.
| p_timer | Pointer to a valid ShProfilingTimer structure. |
| type | Type of the profiling timer to start. |
| uint8_t shProfilingTimerStartExt | ( | ShProfilingTimer * | p_timer, |
| SmdVarName | name, | ||
| uint32_t | timer_idx | ||
| ) |
Starts an extension profiling timer with the specified name and index.
| p_timer | Pointer to a valid ShProfilingTimer structure. |
| name | Name of the extension timer. |
| timer_idx | Index of the extension timer. |