tracy/server/TracyTexture.hpp
Bartosz Taudul 902de497dc
Allow forceful insertion into main thread queue.
This is useful to run some tasks outside of the main render job.
2021-11-18 22:46:59 +01:00

16 lines
282 B
C++

#ifndef __TRACYTEXTURE_HPP__
#define __TRACYTEXTURE_HPP__
#include <functional>
namespace tracy
{
void* MakeTexture();
void FreeTexture( void* tex, void(*runOnMainThread)(std::function<void()>, bool) );
void UpdateTexture( void* tex, const char* data, int w, int h );
}
#endif