tracy/server/TracyTexture.hpp
2023-04-16 16:44:18 +02:00

18 lines
372 B
C++

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