DirectX performance marker.
To quickly monitor performance of Direct X code, place instances of this class at the top of a function of interest. When the class instanciates, it will set a Direct X performance marker and when the class goes out of scope, it will end performance capture.
{
DrawBackground();
}
{
DrawCharacters();
}
BURGER_INLINE DirectXPerfMarker(uint32_t uColor, const uint16_t *pMessage) BURGER_NOEXCEPT
Start a D3DPERF performance marker.
Definition burgerwindows.h:525
- Note
- This is only available on Windows