Struct ufbx.ufbx_open_memory_opts
Options for ufbx_open_memory()
.
Assembly: ufbxWrapper.dll
Syntax
public struct ufbx.ufbx_open_memory_opts
Fields
_begin_zero
Declaration
Field Value
_end_zero
Declaration
Field Value
allocator
Allocator to allocate the memory with.
NOTE: Used even if no copy is made to allocate a small metadata block.
Declaration
public ufbx.ufbx_allocator_opts allocator
Field Value
close_cb
Callback to free the memory blob.
Declaration
public ufbx.ufbx_close_memory_cb close_cb
Field Value
no_copy
Do not copy the memory.
You can use close_cb
to free the memory when the stream is closed.
NOTE: This means the provided data pointer is referenced after creating
the memory stream, make sure the data stays valid until the stream is closed!
Declaration
Field Value