OpenGL rebuild project start!
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user