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