nCine::RenderStatistics class

Gathers statistics about the rendering subsystem.

Public types

class Buffers
class CommandPool
class Commands
class CustomBuffers
class Textures
class VaoPool

Public static functions

static auto GetAllCommands() -> const Commands&
Returns the aggregated command statistics for all types.
static auto GetCommands(RenderCommand::Type type) -> const Commands&
Returns the commnad statistics for the specified type.
static auto GetBuffers(RenderBuffersManager::BufferTypes type) -> const Buffers&
Returns the buffer statistics for the specified type.
static auto GetTextures() -> const Textures&
Returns aggregated texture statistics.
static auto GetCustomVBOs() -> const CustomBuffers&
Returns aggregated custom VBOs statistics.
static auto GetCustomIBOs() -> const CustomBuffers&
Returns aggregated custom IBOs statistics.
static auto GetCulled() -> std::uint32_t
Returns the number of DrawableNodes culled because outside of the screen.
static auto GetVaoPool() -> const VaoPool&
Returns statistics about the VAO pool.
static auto GetCommandPool() -> const CommandPool&
Returns statistics about the render command pools.