daily update on 20240226 by nitload youmu

This commit is contained in:
YoumuLiu
2024-02-27 00:43:29 +08:00
parent a2241a5a58
commit 06e39f7a31
543 changed files with 230273 additions and 21423 deletions
+6 -9
View File
@@ -6,7 +6,6 @@ namespace StgSharp.Graphics
{
public interface IglFunc
{
/// <summary>
/// Same function as OpenGL api glActiveTexture
/// </summary>
@@ -15,7 +14,7 @@ namespace StgSharp.Graphics
/// <summary>
/// Operation after alignment by calling <see cref="AlignFrame(Form)"/>.
/// No calling of this method is acceptable, but it will bring the risk
/// No calling of this method is acceptable, but it will bring the risk
/// of that relevant code will not run if it is interrupted by frame overtime.
/// Please call this method immediately after calling <see cref="AlignFrame(Form)"/>,
/// too early or sonner may cause <see cref="InvalidOperationException"/>.
@@ -74,7 +73,7 @@ namespace StgSharp.Graphics
/// <summary>
/// Call apiClearColor in OpenGL
/// specifies the red, green, blue, and alpha values used by apiClear to clear the color buffers.
/// specifies the red, green, blue, and alpha values used by apiClear to clear the color buffers.
/// Values specified by apiClearColor are clamped to the range [0,1]
/// </summary>
/// <param name="R">Specify the red values used when the color buffers are cleared.</param>
@@ -108,7 +107,7 @@ namespace StgSharp.Graphics
glHandleSet CreateProgram(int count);
/// <summary>
/// Creates a form and its associated
/// Creates a form and its associated
/// </summary>
/// <param name="width">Required width</param>
/// <param name="height">Required width</param>
@@ -139,7 +138,7 @@ namespace StgSharp.Graphics
unsafe void DeleteVertexArrays(glHandleSet handleSet);
/// <summary>
///
///
/// </summary>
/// <param name="mode"></param>
/// <param name="count"></param>
@@ -166,7 +165,6 @@ namespace StgSharp.Graphics
/// <param name="count">Amount of vao to be generated</param>
unsafe glHandleSet GenVertexArrays(int count);
/// <summary>
/// Same fucntion as OpenGL api, glGetUniformLocation
/// </summary>
@@ -175,7 +173,6 @@ namespace StgSharp.Graphics
/// <returns></returns>
unsafe glSHandle GetUniformLocation(glHandle program, string name);
bool GetWindowShouldClose(Form form);
/// <summary>
@@ -272,7 +269,7 @@ namespace StgSharp.Graphics
/// <param name="format">color channels of this image</param>
/// <param name="type">how this image express each pixel</param>
/// <param name="pixels">data array of pixels</param>
unsafe void TextureImage2d<T>(int target, int level, uint internalformat, uint width, uint height, uint format, uint type, T[] pixels) where T : struct;
unsafe void TextureImage2d<T>(int target, int level, uint internalformat, uint width, uint height, uint format, uint type, glHandle pixels) where T : struct;
/// <summary>
/// Same fucntion as OpenGL api glTexParameteri
@@ -289,7 +286,7 @@ namespace StgSharp.Graphics
void UseProgram(glHandle program);
/// <summary>
/// Same function as the OpenGL api, glViewPort
/// Same function as the OpenGL api, glViewPort
/// </summary>
/// <param name="x"></param>
/// <param name="y"></param>