mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-09-17 21:57:03 +00:00
Fix XML documentation.
This commit is contained in:
parent
366eb921a7
commit
b89f79266b
|
@ -188,7 +188,7 @@ namespace OpenTK
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Frees a marshalled string that allocated by <c>MarshalStringToPtr</c>.
|
/// Frees a marshalled string that allocated by <c>MarshalStringToPtr</c>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="ptr">An unmanaged pointer allocated with <c>MarshalStringToPtr</param>
|
/// <param name="ptr">An unmanaged pointer allocated with <c>MarshalStringToPtr</c></param>
|
||||||
protected static void FreeStringPtr(IntPtr ptr)
|
protected static void FreeStringPtr(IntPtr ptr)
|
||||||
{
|
{
|
||||||
Marshal.FreeHGlobal(ptr);
|
Marshal.FreeHGlobal(ptr);
|
||||||
|
|
|
@ -183,6 +183,11 @@ namespace OpenTK.Graphics
|
||||||
|
|
||||||
#region IEquatable<ColorFormat> Members
|
#region IEquatable<ColorFormat> Members
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Compares whether this ColorFormat structure is equal to the specified ColorFormat.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="other">The ColorFormat structure to compare to.</param>
|
||||||
|
/// <returns>True if both ColorFormat structures contain the same components; false otherwise.</returns>
|
||||||
public bool Equals(ColorFormat other)
|
public bool Equals(ColorFormat other)
|
||||||
{
|
{
|
||||||
return
|
return
|
||||||
|
|
|
@ -39,7 +39,17 @@ namespace OpenTK.Graphics
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public sealed class GraphicsContext : IGraphicsContext, IGraphicsContextInternal
|
public sealed class GraphicsContext : IGraphicsContext, IGraphicsContextInternal
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Used to retrive function pointers by name.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="function">The function name.</param>
|
||||||
|
/// <returns>A function pointer to <paramref name="function"/>, or <c>IntPtr.Zero</c></returns>
|
||||||
public delegate IntPtr GetAddressDelegate(string function);
|
public delegate IntPtr GetAddressDelegate(string function);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Used to return the handel of the current OpenGL context.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>The current OpenGL context, or <c>IntPtr.Zero</c> if no context is on the calling thread.</returns>
|
||||||
public delegate ContextHandle GetCurrentContextDelegate();
|
public delegate ContextHandle GetCurrentContextDelegate();
|
||||||
|
|
||||||
#region --- Fields ---
|
#region --- Fields ---
|
||||||
|
@ -646,7 +656,7 @@ namespace OpenTK.Graphics
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Marks this context as deleted, but does not actually release unmanaged resources
|
/// Marks this context as deleted, but does not actually release unmanaged resources
|
||||||
/// due to the threading requirements of OpenGL. Use <see cref="GraphicsContext.Dispose"/>
|
/// due to the threading requirements of OpenGL. Use <see cref="GraphicsContext.Dispose()"/>
|
||||||
/// instead.
|
/// instead.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
~GraphicsContext()
|
~GraphicsContext()
|
||||||
|
|
Loading…
Reference in a new issue