mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-03-30 11:16:56 +00:00
Clarified GetAddress documentation
This commit is contained in:
parent
475e7ea797
commit
7a57c9c3d2
|
@ -112,12 +112,13 @@ namespace OpenTK.Graphics
|
||||||
ContextHandle Context { get; }
|
ContextHandle Context { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the address of an OpenGL extension function.
|
/// Retrieves the implementation-defined address of an OpenGL function.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="function">The name of the OpenGL function (e.g. "glGetString")</param>
|
/// <param name="function">The name of the OpenGL function (e.g. "glGetString")</param>
|
||||||
/// <returns>
|
/// <returns>
|
||||||
/// A pointer to the specified function or IntPtr.Zero if the function isn't
|
/// A pointer to the specified function or an invalid pointer if the function is not
|
||||||
/// available in the current opengl context.
|
/// available in the current OpenGL context. The return value and calling convention
|
||||||
|
/// depends on the underlying platform.
|
||||||
/// </returns>
|
/// </returns>
|
||||||
IntPtr GetAddress(string function);
|
IntPtr GetAddress(string function);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue