add RenderTarget_destroyRenderThread

This commit is contained in:
Nick Fisher
2025-04-17 13:35:07 +08:00
parent 1be1979c05
commit e1d5d14ff7
3 changed files with 20 additions and 4 deletions

View File

@@ -186,6 +186,12 @@ namespace thermion
TTexture *depth,
void (*onComplete)(TRenderTarget *)
);
EMSCRIPTEN_KEEPALIVE void RenderTarget_destroyRenderThread(
TEngine *tEngine,
TRenderTarget *tRenderTarget,
void (*onComplete)()
);
// TextureSampler methods
EMSCRIPTEN_KEEPALIVE void TextureSampler_createRenderThread(void (*onComplete)(TTextureSampler*));