summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/include/bgfx.c99.h
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/include/bgfx.c99.h')
-rw-r--r--3rdparty/bgfx/include/bgfx.c99.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/3rdparty/bgfx/include/bgfx.c99.h b/3rdparty/bgfx/include/bgfx.c99.h
index 38b55e327bb..307fc4fd334 100644
--- a/3rdparty/bgfx/include/bgfx.c99.h
+++ b/3rdparty/bgfx/include/bgfx.c99.h
@@ -167,6 +167,12 @@ BGFX_HANDLE_T(bgfx_vertex_decl_handle);
#undef BGFX_HANDLE_T
/**
+ *
+ */
+typedef void (*bgfx_release_fn_t)(void* _ptr, void* _userData);
+
+/**
+ *
*/
typedef struct bgfx_memory
{
@@ -176,6 +182,7 @@ typedef struct bgfx_memory
} bgfx_memory_t;
/**
+ *
*/
typedef struct bgfx_transform
{
@@ -635,6 +642,11 @@ BGFX_C_API const bgfx_memory_t* bgfx_copy(const void* _data, uint32_t _size);
BGFX_C_API const bgfx_memory_t* bgfx_make_ref(const void* _data, uint32_t _size);
/**
+ *
+ */
+BGFX_C_API const bgfx_memory_t* bgfx_make_ref_release(const void* _data, uint32_t _size, bgfx_release_fn_t _releaseFn, void* _userData);
+
+/**
* Set debug flags.
*
* @param _debug Available flags: