2022-02-05 18:06:25 -08:00

50 lines
1.1 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.UI
{
/// <summary>
/// Parameters for the <see cref="UIInterface.PrePresent" /> function.
/// </summary>
public class PrePresentOptions
{
/// <summary>
/// Platform specific data.
/// </summary>
public System.IntPtr PlatformSpecificData { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct PrePresentOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_PlatformSpecificData;
public System.IntPtr PlatformSpecificData
{
set
{
m_PlatformSpecificData = value;
}
}
public void Set(PrePresentOptions other)
{
if (other != null)
{
m_ApiVersion = UIInterface.PrepresentApiLatest;
PlatformSpecificData = other.PlatformSpecificData;
}
}
public void Set(object other)
{
Set(other as PrePresentOptions);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_PlatformSpecificData);
}
}
}