tracy/server/TracyTexture.hpp

16 lines
276 B
C++
Raw Normal View History

2019-06-06 20:07:56 +00:00
#ifndef __TRACYTEXTURE_HPP__
#define __TRACYTEXTURE_HPP__
#include <functional>
2019-06-06 20:07:56 +00:00
namespace tracy
{
void* MakeTexture();
void FreeTexture( void* tex, void(*runOnMainThread)(std::function<void()>) );
2019-08-15 14:29:50 +00:00
void UpdateTexture( void* tex, const char* data, int w, int h );
2019-06-06 20:07:56 +00:00
}
#endif