public static Result Initialize(AndroidInitializeOptions options) { System.IntPtr optionsAddress = new System.IntPtr(); Helper.TryMarshalSet <AndroidInitializeOptionsInternal, AndroidInitializeOptions>(ref optionsAddress, options); var funcResult = EOS_Initialize(optionsAddress); Helper.TryMarshalDispose(ref optionsAddress); return(funcResult); }
public void Set(AndroidInitializeOptions other) { if (other != null) { m_ApiVersion = PlatformInterface.InitializeApiLatest; AllocateMemoryFunction = other.AllocateMemoryFunction; ReallocateMemoryFunction = other.ReallocateMemoryFunction; ReleaseMemoryFunction = other.ReleaseMemoryFunction; ProductName = other.ProductName; ProductVersion = other.ProductVersion; Reserved = other.Reserved; SystemInitializeOptions = other.SystemInitializeOptions; OverrideThreadAffinity = other.OverrideThreadAffinity; } }