OpenGL rebuild project start!

This commit is contained in:
Nitload
2023-04-29 03:06:32 +08:00
parent 7dba067146
commit 4dd3f4f6d1
263 changed files with 51374 additions and 1522 deletions
@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace StgSharp.Graphic
{
/// <summary>
/// Provides methods for querying available functions in a bindings context.
/// </summary>
public interface IBindingsContext
{
/// <summary>
/// Retrieves an unmanaged function pointer to the specified function on the specified bindings context.
/// </summary>
/// <param name="procName">An ASCII-encoded string that defines the name of the function.</param>
/// <returns>
/// A <see cref="System.IntPtr"/> that contains the address of procName or IntPtr.Zero,
/// if the function is not supported by the drivers.
/// </returns>
/// <remarks>
/// Note: some drivers are known to return non-zero values for unsupported functions.
/// Typical values include 1 and 2 - inheritors are advised to check for and ignore these
/// values.
/// </remarks>
IntPtr GetProcAddress(string procName);
}
}