mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
17 lines
345 B
C++
17 lines
345 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 );
|
|
void UpdateTextureRGBA( void* tex, void* data, int w, int h );
|
|
|
|
}
|
|
|
|
#endif
|