Namespace ufbxSafe
Classes
ufbx_error_safe
An exception type that wraps an error returned by the ufbx library.
ufbx_load_opts_safe
Provides utility methods and delegates for managing progress and file-opening callbacks for ufbx.ufbx_load_opts during model loading with the ufbx library. Ensures safe interoperability between managed and native code.
ufbx_load_opts_safe.CallbackAndData
Manages callback data for native interoperability, including the callback function, user data, and GCHandle instances for lifetime management.
Structs
ufbx_allocator_safe
Wraps a ufbx_allocator to provide custom memory allocation, reallocation, and free operations via C# Marshal methods.
ufbx_stream_safe
A safer wrapper around ufbx_stream to facilitate the use of C# Stream objects with the ufbx library, providing automatic read, skip, and close operations.
ufbx_string_safe
Wraps a ufbx_string by allocating and managing string memory in C#, providing a cleaner way to work with unmanaged strings required by ufbx.
Delegates
ufbx_load_opts_safe.ufbx_open_file_fn_safe
Delegate for a user-defined callback to open files during model loading.
ufbx_load_opts_safe.ufbx_progress_fn_safe
Delegate for a user-defined progress callback invoked during model loading.