Files
unity-application/Packages/com.github.homuler.mediapipe/Runtime/Scripts/PInvoke/NativeMethods/Gpu/Gl_Safe.cs
2023-03-12 20:34:16 +00:00

21 lines
502 B
C#

// Copyright (c) 2021 homuler
//
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.
using System;
using System.Diagnostics.Contracts;
using System.Runtime.InteropServices;
namespace Mediapipe
{
internal static partial class SafeNativeMethods
{
#if UNITY_STANDALONE_LINUX || UNITY_ANDROID
[Pure, DllImport(MediaPipeLibrary)]
public static extern IntPtr eglGetCurrentContext();
#endif
}
}