Rendu
A lightweight rendering engine for experimentations
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GPU::Metrics Struct Reference

#include <GPU.hpp>

Public Member Functions

void resetPerFrameMetrics ()
 Reset metrics that are measured over one frame.
 

Public Attributes

unsigned long long uploads = 0
 Data upload to the GPU.
 
unsigned long long downloads = 0
 Data download from the GPU.
 
unsigned long long textures = 0
 Textures created.
 
unsigned long long buffers = 0
 Buffers created.
 
unsigned long long programs = 0
 Programs created.
 
unsigned long long pipelines = 0
 Pipelines created.
 
unsigned long long drawCalls = 0
 Mesh draw call.
 
unsigned long long quadCalls = 0
 Full screen quad.
 
unsigned long long pipelineBindings = 0
 Number of pipeline set operations.
 
unsigned long long renderPasses = 0
 Number of render passes.
 
unsigned long long meshBindings = 0
 Number of mesh bindings.
 
unsigned long long blitCount = 0
 Texture blitting operations.
 

Detailed Description

Internal operation metrics.


The documentation for this struct was generated from the following file: