Add GPUTexture::DownloadData to C#

#2973 #1446
This commit is contained in:
Wojtek Figat
2025-04-07 23:32:37 +02:00
parent 6fc5e1f423
commit 15da2d59e5
7 changed files with 109 additions and 42 deletions

View File

@@ -92,3 +92,11 @@ extern "C" FLAXENGINE_API void mono_add_internal_call(const char* name, const vo
#define INTERNAL_CALL_CHECK_EXP_RETURN(expression, defaultValue)
#endif
template<typename T>
T& InternalGetReference(T* obj)
{
if (!obj)
DebugLog::ThrowNullReference();
return *obj;
}