Skip to content

Commit

Permalink
docs(opengl) more exceptions for docs.gl links
Browse files Browse the repository at this point in the history
Close #970
  • Loading branch information
TheMrMilchmann authored and Spasi committed Dec 7, 2024
1 parent acf31a3 commit ed4042b
Show file tree
Hide file tree
Showing 13 changed files with 28 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7147,7 +7147,7 @@ public static void glCopyTexSubImage2D(@NativeType("GLenum") int target, @Native
* @param pname the parameter to set. One of:<br><table><tr><td>{@link GL12#GL_TEXTURE_BASE_LEVEL TEXTURE_BASE_LEVEL}</td><td>{@link GL11C#GL_TEXTURE_BORDER_COLOR TEXTURE_BORDER_COLOR}</td><td>{@link GL14#GL_TEXTURE_COMPARE_MODE TEXTURE_COMPARE_MODE}</td><td>{@link GL14#GL_TEXTURE_COMPARE_FUNC TEXTURE_COMPARE_FUNC}</td></tr><tr><td>{@link GL14#GL_TEXTURE_LOD_BIAS TEXTURE_LOD_BIAS}</td><td>{@link GL11C#GL_TEXTURE_MAG_FILTER TEXTURE_MAG_FILTER}</td><td>{@link GL12#GL_TEXTURE_MAX_LEVEL TEXTURE_MAX_LEVEL}</td><td>{@link GL12#GL_TEXTURE_MAX_LOD TEXTURE_MAX_LOD}</td></tr><tr><td>{@link GL11C#GL_TEXTURE_MIN_FILTER TEXTURE_MIN_FILTER}</td><td>{@link GL12#GL_TEXTURE_MIN_LOD TEXTURE_MIN_LOD}</td><td>{@link GL33#GL_TEXTURE_SWIZZLE_R TEXTURE_SWIZZLE_R}</td><td>{@link GL33#GL_TEXTURE_SWIZZLE_G TEXTURE_SWIZZLE_G}</td></tr><tr><td>{@link GL33#GL_TEXTURE_SWIZZLE_B TEXTURE_SWIZZLE_B}</td><td>{@link GL33#GL_TEXTURE_SWIZZLE_A TEXTURE_SWIZZLE_A}</td><td>{@link GL33#GL_TEXTURE_SWIZZLE_RGBA TEXTURE_SWIZZLE_RGBA}</td><td>{@link GL11C#GL_TEXTURE_WRAP_S TEXTURE_WRAP_S}</td></tr><tr><td>{@link GL11C#GL_TEXTURE_WRAP_T TEXTURE_WRAP_T}</td><td>{@link GL12#GL_TEXTURE_WRAP_R TEXTURE_WRAP_R}</td><td>{@link GL14#GL_DEPTH_TEXTURE_MODE DEPTH_TEXTURE_MODE}</td><td>{@link GL14#GL_GENERATE_MIPMAP GENERATE_MIPMAP}</td></tr></table>
* @param param the parameter value
*
* @see <a href="https://docs.gl/gl4/glTexParameteri">Reference Page</a>
* @see <a href="https://docs.gl/gl4/glTexParameter">Reference Page</a>
*/
public static void glTexParameteri(@NativeType("GLenum") int target, @NativeType("GLenum") int pname, @NativeType("GLint") int param) {
GL11C.glTexParameteri(target, pname, param);
Expand Down Expand Up @@ -7182,7 +7182,7 @@ public static void glTexParameteriv(@NativeType("GLenum") int target, @NativeTyp
* @param pname the parameter to set
* @param param the parameter value
*
* @see <a href="https://docs.gl/gl4/glTexParameterf">Reference Page</a>
* @see <a href="https://docs.gl/gl4/glTexParameter">Reference Page</a>
*/
public static void glTexParameterf(@NativeType("GLenum") int target, @NativeType("GLenum") int pname, @NativeType("GLfloat") float param) {
GL11C.glTexParameterf(target, pname, param);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1893,7 +1893,7 @@ public static void glTexImage2D(@NativeType("GLenum") int target, @NativeType("G
* @param pname the parameter to set. One of:<br><table><tr><td>{@link GL12#GL_TEXTURE_BASE_LEVEL TEXTURE_BASE_LEVEL}</td><td>{@link #GL_TEXTURE_BORDER_COLOR TEXTURE_BORDER_COLOR}</td><td>{@link GL14#GL_TEXTURE_COMPARE_MODE TEXTURE_COMPARE_MODE}</td><td>{@link GL14#GL_TEXTURE_COMPARE_FUNC TEXTURE_COMPARE_FUNC}</td></tr><tr><td>{@link GL14#GL_TEXTURE_LOD_BIAS TEXTURE_LOD_BIAS}</td><td>{@link #GL_TEXTURE_MAG_FILTER TEXTURE_MAG_FILTER}</td><td>{@link GL12#GL_TEXTURE_MAX_LEVEL TEXTURE_MAX_LEVEL}</td><td>{@link GL12#GL_TEXTURE_MAX_LOD TEXTURE_MAX_LOD}</td></tr><tr><td>{@link #GL_TEXTURE_MIN_FILTER TEXTURE_MIN_FILTER}</td><td>{@link GL12#GL_TEXTURE_MIN_LOD TEXTURE_MIN_LOD}</td><td>{@link GL33#GL_TEXTURE_SWIZZLE_R TEXTURE_SWIZZLE_R}</td><td>{@link GL33#GL_TEXTURE_SWIZZLE_G TEXTURE_SWIZZLE_G}</td></tr><tr><td>{@link GL33#GL_TEXTURE_SWIZZLE_B TEXTURE_SWIZZLE_B}</td><td>{@link GL33#GL_TEXTURE_SWIZZLE_A TEXTURE_SWIZZLE_A}</td><td>{@link GL33#GL_TEXTURE_SWIZZLE_RGBA TEXTURE_SWIZZLE_RGBA}</td><td>{@link #GL_TEXTURE_WRAP_S TEXTURE_WRAP_S}</td></tr><tr><td>{@link #GL_TEXTURE_WRAP_T TEXTURE_WRAP_T}</td><td>{@link GL12#GL_TEXTURE_WRAP_R TEXTURE_WRAP_R}</td><td>{@link GL14#GL_DEPTH_TEXTURE_MODE DEPTH_TEXTURE_MODE}</td><td>{@link GL14#GL_GENERATE_MIPMAP GENERATE_MIPMAP}</td></tr></table>
* @param param the parameter value
*
* @see <a href="https://docs.gl/gl4/glTexParameteri">Reference Page</a>
* @see <a href="https://docs.gl/gl4/glTexParameter">Reference Page</a>
*/
public static native void glTexParameteri(@NativeType("GLenum") int target, @NativeType("GLenum") int pname, @NativeType("GLint") int param);

Expand Down Expand Up @@ -1927,7 +1927,7 @@ public static void glTexParameteriv(@NativeType("GLenum") int target, @NativeTyp
* @param pname the parameter to set
* @param param the parameter value
*
* @see <a href="https://docs.gl/gl4/glTexParameterf">Reference Page</a>
* @see <a href="https://docs.gl/gl4/glTexParameter">Reference Page</a>
*/
public static native void glTexParameterf(@NativeType("GLenum") int target, @NativeType("GLenum") int pname, @NativeType("GLfloat") float param);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ public static void glMultiDrawElements(@NativeType("GLenum") int mode, @NativeTy
* @param pname the parameter to set. Must be:<br><table><tr><td>{@link GL14C#GL_POINT_FADE_THRESHOLD_SIZE POINT_FADE_THRESHOLD_SIZE}</td></tr></table>
* @param param the parameter value
*
* @see <a href="https://docs.gl/gl4/glPointParameterf">Reference Page</a>
* @see <a href="https://docs.gl/gl4/glPointParameter">Reference Page</a>
*/
public static void glPointParameterf(@NativeType("GLenum") int pname, @NativeType("GLfloat") float param) {
GL14C.glPointParameterf(pname, param);
Expand All @@ -392,7 +392,7 @@ public static void glPointParameterf(@NativeType("GLenum") int pname, @NativeTyp
* @param pname the parameter to set. Must be:<br><table><tr><td>{@link GL14C#GL_POINT_FADE_THRESHOLD_SIZE POINT_FADE_THRESHOLD_SIZE}</td></tr></table>
* @param param the parameter value
*
* @see <a href="https://docs.gl/gl4/glPointParameteri">Reference Page</a>
* @see <a href="https://docs.gl/gl4/glPointParameter">Reference Page</a>
*/
public static void glPointParameteri(@NativeType("GLenum") int pname, @NativeType("GLint") int param) {
GL14C.glPointParameteri(pname, param);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public static void glMultiDrawElements(@NativeType("GLenum") int mode, @NativeTy
* @param pname the parameter to set. Must be:<br><table><tr><td>{@link #GL_POINT_FADE_THRESHOLD_SIZE POINT_FADE_THRESHOLD_SIZE}</td></tr></table>
* @param param the parameter value
*
* @see <a href="https://docs.gl/gl4/glPointParameterf">Reference Page</a>
* @see <a href="https://docs.gl/gl4/glPointParameter">Reference Page</a>
*/
public static native void glPointParameterf(@NativeType("GLenum") int pname, @NativeType("GLfloat") float param);

Expand All @@ -207,7 +207,7 @@ public static void glMultiDrawElements(@NativeType("GLenum") int mode, @NativeTy
* @param pname the parameter to set. Must be:<br><table><tr><td>{@link #GL_POINT_FADE_THRESHOLD_SIZE POINT_FADE_THRESHOLD_SIZE}</td></tr></table>
* @param param the parameter value
*
* @see <a href="https://docs.gl/gl4/glPointParameteri">Reference Page</a>
* @see <a href="https://docs.gl/gl4/glPointParameter">Reference Page</a>
*/
public static native void glPointParameteri(@NativeType("GLenum") int pname, @NativeType("GLint") int param);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public static void glBindSampler(@NativeType("GLuint") int unit, @NativeType("GL
* @param pname the symbolic name of a single-valued sampler parameter. One of:<br><table><tr><td>{@link GL11#GL_TEXTURE_WRAP_S TEXTURE_WRAP_S}</td><td>{@link GL11#GL_TEXTURE_WRAP_T TEXTURE_WRAP_T}</td><td>{@link GL12#GL_TEXTURE_WRAP_R TEXTURE_WRAP_R}</td><td>{@link GL11#GL_TEXTURE_MIN_FILTER TEXTURE_MIN_FILTER}</td><td>{@link GL11#GL_TEXTURE_MAG_FILTER TEXTURE_MAG_FILTER}</td></tr><tr><td>{@link GL12#GL_TEXTURE_MIN_LOD TEXTURE_MIN_LOD}</td><td>{@link GL12#GL_TEXTURE_MAX_LOD TEXTURE_MAX_LOD}</td><td>{@link GL14#GL_TEXTURE_LOD_BIAS TEXTURE_LOD_BIAS}</td><td>{@link GL14#GL_TEXTURE_COMPARE_MODE TEXTURE_COMPARE_MODE}</td><td>{@link GL14#GL_TEXTURE_COMPARE_FUNC TEXTURE_COMPARE_FUNC}</td></tr></table>
* @param param the value of {@code pname}
*
* @see <a href="https://docs.gl/gl4/glSamplerParameteri">Reference Page</a>
* @see <a href="https://docs.gl/gl4/glSamplerParameter">Reference Page</a>
*/
public static void glSamplerParameteri(@NativeType("GLuint") int sampler, @NativeType("GLenum") int pname, @NativeType("GLint") int param) {
GL33C.glSamplerParameteri(sampler, pname, param);
Expand All @@ -276,7 +276,7 @@ public static void glSamplerParameteri(@NativeType("GLuint") int sampler, @Nativ
* @param pname the symbolic name of a single-valued sampler parameter
* @param param the value of {@code pname}
*
* @see <a href="https://docs.gl/gl4/glSamplerParameterf">Reference Page</a>
* @see <a href="https://docs.gl/gl4/glSamplerParameter">Reference Page</a>
*/
public static void glSamplerParameterf(@NativeType("GLuint") int sampler, @NativeType("GLenum") int pname, @NativeType("GLfloat") float param) {
GL33C.glSamplerParameterf(sampler, pname, param);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ public static void glDeleteSamplers(@NativeType("GLuint const *") int sampler) {
* @param pname the symbolic name of a single-valued sampler parameter. One of:<br><table><tr><td>{@link GL11#GL_TEXTURE_WRAP_S TEXTURE_WRAP_S}</td><td>{@link GL11#GL_TEXTURE_WRAP_T TEXTURE_WRAP_T}</td><td>{@link GL12#GL_TEXTURE_WRAP_R TEXTURE_WRAP_R}</td><td>{@link GL11#GL_TEXTURE_MIN_FILTER TEXTURE_MIN_FILTER}</td><td>{@link GL11#GL_TEXTURE_MAG_FILTER TEXTURE_MAG_FILTER}</td></tr><tr><td>{@link GL12#GL_TEXTURE_MIN_LOD TEXTURE_MIN_LOD}</td><td>{@link GL12#GL_TEXTURE_MAX_LOD TEXTURE_MAX_LOD}</td><td>{@link GL14#GL_TEXTURE_LOD_BIAS TEXTURE_LOD_BIAS}</td><td>{@link GL14#GL_TEXTURE_COMPARE_MODE TEXTURE_COMPARE_MODE}</td><td>{@link GL14#GL_TEXTURE_COMPARE_FUNC TEXTURE_COMPARE_FUNC}</td></tr></table>
* @param param the value of {@code pname}
*
* @see <a href="https://docs.gl/gl4/glSamplerParameteri">Reference Page</a>
* @see <a href="https://docs.gl/gl4/glSamplerParameter">Reference Page</a>
*/
public static native void glSamplerParameteri(@NativeType("GLuint") int sampler, @NativeType("GLenum") int pname, @NativeType("GLint") int param);

Expand All @@ -296,7 +296,7 @@ public static void glDeleteSamplers(@NativeType("GLuint const *") int sampler) {
* @param pname the symbolic name of a single-valued sampler parameter
* @param param the value of {@code pname}
*
* @see <a href="https://docs.gl/gl4/glSamplerParameterf">Reference Page</a>
* @see <a href="https://docs.gl/gl4/glSamplerParameter">Reference Page</a>
*/
public static native void glSamplerParameterf(@NativeType("GLuint") int sampler, @NativeType("GLenum") int pname, @NativeType("GLfloat") float param);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,7 @@ public static int glGetProgramStagei(@NativeType("GLuint") int program, @NativeT
* @param pname the name of the parameter to set. Must be:<br><table><tr><td>{@link GL40C#GL_PATCH_VERTICES PATCH_VERTICES}</td></tr></table>
* @param value the new value for the parameter given by {@code pname}
*
* @see <a href="https://docs.gl/gl4/glPatchParameteri">Reference Page</a>
* @see <a href="https://docs.gl/gl4/glPatchParameter">Reference Page</a>
*/
public static void glPatchParameteri(@NativeType("GLenum") int pname, @NativeType("GLint") int value) {
GL40C.glPatchParameteri(pname, value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,7 @@ public static int glGetProgramStagei(@NativeType("GLuint") int program, @NativeT
* @param pname the name of the parameter to set. Must be:<br><table><tr><td>{@link #GL_PATCH_VERTICES PATCH_VERTICES}</td></tr></table>
* @param value the new value for the parameter given by {@code pname}
*
* @see <a href="https://docs.gl/gl4/glPatchParameteri">Reference Page</a>
* @see <a href="https://docs.gl/gl4/glPatchParameter">Reference Page</a>
*/
public static native void glPatchParameteri(@NativeType("GLenum") int pname, @NativeType("GLint") int value);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public static void glProgramBinary(@NativeType("GLuint") int program, @NativeTyp
* @param pname the name of the parameter to modify. One of:<br><table><tr><td>{@link GL41C#GL_PROGRAM_BINARY_RETRIEVABLE_HINT PROGRAM_BINARY_RETRIEVABLE_HINT}</td><td>{@link GL41C#GL_PROGRAM_SEPARABLE PROGRAM_SEPARABLE}</td></tr></table>
* @param value the new value of the parameter specified by {@code pname} for {@code program}
*
* @see <a href="https://docs.gl/gl4/glProgramParameteri">Reference Page</a>
* @see <a href="https://docs.gl/gl4/glProgramParameter">Reference Page</a>
*/
public static void glProgramParameteri(@NativeType("GLuint") int program, @NativeType("GLenum") int pname, @NativeType("GLint") int value) {
GL41C.glProgramParameteri(program, pname, value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ public static void glProgramBinary(@NativeType("GLuint") int program, @NativeTyp
* @param pname the name of the parameter to modify. One of:<br><table><tr><td>{@link #GL_PROGRAM_BINARY_RETRIEVABLE_HINT PROGRAM_BINARY_RETRIEVABLE_HINT}</td><td>{@link #GL_PROGRAM_SEPARABLE PROGRAM_SEPARABLE}</td></tr></table>
* @param value the new value of the parameter specified by {@code pname} for {@code program}
*
* @see <a href="https://docs.gl/gl4/glProgramParameteri">Reference Page</a>
* @see <a href="https://docs.gl/gl4/glProgramParameter">Reference Page</a>
*/
public static native void glProgramParameteri(@NativeType("GLuint") int program, @NativeType("GLenum") int pname, @NativeType("GLint") int value);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1336,7 +1336,7 @@ public static void glNamedFramebufferRenderbuffer(@NativeType("GLuint") int fram
* @param pname a token indicating the parameter to be modified. One of:<br><table><tr><td>{@link GL43#GL_FRAMEBUFFER_DEFAULT_WIDTH FRAMEBUFFER_DEFAULT_WIDTH}</td><td>{@link GL43#GL_FRAMEBUFFER_DEFAULT_HEIGHT FRAMEBUFFER_DEFAULT_HEIGHT}</td></tr><tr><td>{@link GL43#GL_FRAMEBUFFER_DEFAULT_LAYERS FRAMEBUFFER_DEFAULT_LAYERS}</td><td>{@link GL43#GL_FRAMEBUFFER_DEFAULT_SAMPLES FRAMEBUFFER_DEFAULT_SAMPLES}</td></tr><tr><td>{@link GL43#GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS}</td></tr></table>
* @param param the new value for the parameter named {@code pname}
*
* @see <a href="https://docs.gl/gl4/glFramebufferParameteri">Reference Page</a>
* @see <a href="https://docs.gl/gl4/glFramebufferParameter">Reference Page</a>
*/
public static void glNamedFramebufferParameteri(@NativeType("GLuint") int framebuffer, @NativeType("GLenum") int pname, @NativeType("GLint") int param) {
GL45C.glNamedFramebufferParameteri(framebuffer, pname, param);
Expand Down Expand Up @@ -2528,7 +2528,7 @@ public static void glCopyTextureSubImage3D(@NativeType("GLuint") int texture, @N
* @param pname the parameter to set
* @param param the parameter value
*
* @see <a href="https://docs.gl/gl4/glTextureParameterf">Reference Page</a>
* @see <a href="https://docs.gl/gl4/glTextureParameter">Reference Page</a>
*/
public static void glTextureParameterf(@NativeType("GLuint") int texture, @NativeType("GLenum") int pname, @NativeType("GLfloat") float param) {
GL45C.glTextureParameterf(texture, pname, param);
Expand Down Expand Up @@ -2563,7 +2563,7 @@ public static void glTextureParameterfv(@NativeType("GLuint") int texture, @Nati
* @param pname the parameter to set. One of:<br><table><tr><td>{@link GL12#GL_TEXTURE_BASE_LEVEL TEXTURE_BASE_LEVEL}</td><td>{@link GL11#GL_TEXTURE_BORDER_COLOR TEXTURE_BORDER_COLOR}</td><td>{@link GL14#GL_TEXTURE_COMPARE_MODE TEXTURE_COMPARE_MODE}</td><td>{@link GL14#GL_TEXTURE_COMPARE_FUNC TEXTURE_COMPARE_FUNC}</td></tr><tr><td>{@link GL14#GL_TEXTURE_LOD_BIAS TEXTURE_LOD_BIAS}</td><td>{@link GL11#GL_TEXTURE_MAG_FILTER TEXTURE_MAG_FILTER}</td><td>{@link GL12#GL_TEXTURE_MAX_LEVEL TEXTURE_MAX_LEVEL}</td><td>{@link GL12#GL_TEXTURE_MAX_LOD TEXTURE_MAX_LOD}</td></tr><tr><td>{@link GL11#GL_TEXTURE_MIN_FILTER TEXTURE_MIN_FILTER}</td><td>{@link GL12#GL_TEXTURE_MIN_LOD TEXTURE_MIN_LOD}</td><td>{@link GL33#GL_TEXTURE_SWIZZLE_R TEXTURE_SWIZZLE_R}</td><td>{@link GL33#GL_TEXTURE_SWIZZLE_G TEXTURE_SWIZZLE_G}</td></tr><tr><td>{@link GL33#GL_TEXTURE_SWIZZLE_B TEXTURE_SWIZZLE_B}</td><td>{@link GL33#GL_TEXTURE_SWIZZLE_A TEXTURE_SWIZZLE_A}</td><td>{@link GL33#GL_TEXTURE_SWIZZLE_RGBA TEXTURE_SWIZZLE_RGBA}</td><td>{@link GL11#GL_TEXTURE_WRAP_S TEXTURE_WRAP_S}</td></tr><tr><td>{@link GL11#GL_TEXTURE_WRAP_T TEXTURE_WRAP_T}</td><td>{@link GL12#GL_TEXTURE_WRAP_R TEXTURE_WRAP_R}</td><td>{@link GL14#GL_DEPTH_TEXTURE_MODE DEPTH_TEXTURE_MODE}</td><td>{@link GL14#GL_GENERATE_MIPMAP GENERATE_MIPMAP}</td></tr></table>
* @param param the parameter value
*
* @see <a href="https://docs.gl/gl4/glTextureParameteri">Reference Page</a>
* @see <a href="https://docs.gl/gl4/glTexParameter">Reference Page</a>
*/
public static void glTextureParameteri(@NativeType("GLuint") int texture, @NativeType("GLenum") int pname, @NativeType("GLint") int param) {
GL45C.glTextureParameteri(texture, pname, param);
Expand Down
Loading

0 comments on commit ed4042b

Please sign in to comment.