LightsprintSDK 2021.08.08
|
#include <Renderer.h>
Public Member Functions | |
NamedCounter * | init (const char *_name, NamedCounter *_next) |
Public Attributes | |
unsigned | count |
const char * | name |
NamedCounter * | next |
Counter with ASCII name, helps plugin developers gather rendering statistics.
Plugins own counters and increment them as they wish. Application reads them via Renderer::getCounters().
|
inline |
unsigned rr_gl::NamedCounter::count |
Count, zeroed at creation time, incremented by plugin, read and possibly modified by application.
const char* rr_gl::NamedCounter::name |
Name, set at creation time, never modified or freed.
NamedCounter* rr_gl::NamedCounter::next |
Pointer to next counter, nullptr for end of list.