The Dirtchamber
A mixed reality testing environment for real-time global illumination algorithms
|
A GPU profiler. More...
#include <d3d_tools.h>
Public Member Functions | |
void | create (ID3D11Device *device) |
Create a profile_query object. | |
void | destroy () |
Destroy a profile_query object and free its resources. | |
void | begin (ID3D11DeviceContext *context) |
Start a GPU time query. | |
void | end () |
Stop measuring time. | |
float | result () |
Stop measuring time and return the result in miliseconds. | |
A GPU profiler.
This class encapsulates ID3D11Query objects to capture the time spent on completing a portion of a GPU command buffer.