mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 15:34:36 +00:00
19 lines
476 B
C++
19 lines
476 B
C++
#ifndef __TRACYTEXTURE_HPP__
|
|
#define __TRACYTEXTURE_HPP__
|
|
|
|
#include <functional>
|
|
|
|
namespace tracy
|
|
{
|
|
|
|
void InitTexture();
|
|
void* MakeTexture( bool zigzag = false );
|
|
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 );
|
|
void UpdateTextureRGBAMips( void* tex, void** data, int* w, int* h, size_t mips );
|
|
|
|
}
|
|
|
|
#endif
|