add gltfio FFI methods and expose texture/render target creation directly
This commit is contained in:
28
thermion_dart/native/include/c_api/TRenderTarget.h
Normal file
28
thermion_dart/native/include/c_api/TRenderTarget.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#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
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user