clan::GPUTimer Class Reference

#include <gpu_timer.h>

Classes

struct  Result
 

Public Member Functions

 GPUTimer ()
 
void begin_frame (GraphicContext &gc)
 
void begin_time (GraphicContext &gc, const std::string &name)
 
void end_frame (GraphicContext &gc)
 
void end_time (GraphicContext &gc)
 
std::vector< Resultget_results (GraphicContext &gc)
 

Constructor & Destructor Documentation

clan::GPUTimer::GPUTimer ( )

Member Function Documentation

void clan::GPUTimer::begin_frame ( GraphicContext gc)
void clan::GPUTimer::begin_time ( GraphicContext gc,
const std::string &  name 
)
void clan::GPUTimer::end_frame ( GraphicContext gc)
void clan::GPUTimer::end_time ( GraphicContext gc)
std::vector<Result> clan::GPUTimer::get_results ( GraphicContext gc)

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