You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.5 KiB
67 lines
1.5 KiB
// 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 EOS_UI_PrePresent function.
|
|
/// </summary>
|
|
public struct PrePresentOptions
|
|
{
|
|
/// <summary>
|
|
/// Platform specific data.
|
|
/// </summary>
|
|
public System.IntPtr PlatformSpecificData { get; set; }
|
|
|
|
internal void Set(ref PrePresentOptionsInternal other)
|
|
{
|
|
PlatformSpecificData = other.PlatformSpecificData;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
|
|
internal struct PrePresentOptionsInternal : IGettable<PrePresentOptions>, ISettable<PrePresentOptions>, System.IDisposable
|
|
{
|
|
private int m_ApiVersion;
|
|
private System.IntPtr m_PlatformSpecificData;
|
|
|
|
public System.IntPtr PlatformSpecificData
|
|
{
|
|
get
|
|
{
|
|
return m_PlatformSpecificData;
|
|
}
|
|
|
|
set
|
|
{
|
|
m_PlatformSpecificData = value;
|
|
}
|
|
}
|
|
|
|
public void Set(ref PrePresentOptions other)
|
|
{
|
|
m_ApiVersion = UIInterface.PrepresentApiLatest;
|
|
PlatformSpecificData = other.PlatformSpecificData;
|
|
}
|
|
|
|
public void Set(ref PrePresentOptions? other)
|
|
{
|
|
if (other.HasValue)
|
|
{
|
|
m_ApiVersion = UIInterface.PrepresentApiLatest;
|
|
PlatformSpecificData = other.Value.PlatformSpecificData;
|
|
}
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
Helper.Dispose(ref m_PlatformSpecificData);
|
|
}
|
|
|
|
public void Get(out PrePresentOptions output)
|
|
{
|
|
output = new PrePresentOptions();
|
|
output.Set(ref this);
|
|
}
|
|
}
|
|
}
|