Lightweight FBX Importer
Search Results for

    Show / Hide Table of Contents

    Struct 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.

    Implements
    IDisposable
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: ufbxSafe
    Assembly: ufbxSafe.dll
    Syntax
    public struct ufbx_string_safe : IDisposable

    Constructors

    ufbx_string_safe(string)

    Initializes a new instance of the ufbx_string_safe struct by converting the given C# source into an unmanaged string buffer.

    Declaration
    public ufbx_string_safe(string source)
    Parameters
    Type Name Description
    string source

    A C# string to be stored as unmanaged data.

    Fields

    ufbx_string

    The underlying ufbx_string structure, which references an unmanaged string buffer.

    Declaration
    public ufbx.ufbx_string ufbx_string
    Field Value
    Type Description
    ufbx.ufbx_string

    Methods

    Dispose()

    Frees the unmanaged memory allocated for the string buffer.

    Declaration
    public void Dispose()

    Operators

    implicit operator ufbx_string(ufbx_string_safe)

    Allows implicit conversion from ufbx_string_safe to the raw ufbx_string.

    Declaration
    public static implicit operator ufbx.ufbx_string(ufbx_string_safe source)
    Parameters
    Type Name Description
    ufbx_string_safe source

    The ufbx_string_safe to convert.

    Returns
    Type Description
    ufbx.ufbx_string

    The underlying ufbx_string contained by source.

    Implements

    IDisposable
    In this article
    Back to top Generated by DocFX