Files
cup_edit/thermion_dart/native/include/c_api/TRenderTarget.h
Nick Fisher 77fe40848b refactoring
2025-03-18 16:26:47 +08:00

33 lines
562 B
C

#ifndef _T_RENDERTARGET_H
#define _T_RENDERTARGET_H
#include "APIExport.h"
#include "APIBoundaryTypes.h"
#include "TMaterialInstance.h"
#include "TTexture.h"
#include "ResourceBuffer.hpp"
#include "MathUtils.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
EMSCRIPTEN_KEEPALIVE TRenderTarget *RenderTarget_create(
TEngine *tEngine,
uint32_t width,
uint32_t height,
TTexture *color,
TTexture *depth
);
EMSCRIPTEN_KEEPALIVE void RenderTarget_destroy(
TEngine *tEngine,
TRenderTarget *tRenderTarget
);
#ifdef __cplusplus
}
#endif
#endif