Added missing sampler enums (spec rev. 7/8/2005)

This commit is contained in:
Ioannis Tsakpinis 2005-12-13 20:10:56 +00:00
parent 8d68a3824e
commit 370b505581
2 changed files with 30 additions and 15 deletions

View File

@ -11,6 +11,8 @@ public final class ARBTextureRectangle {
public static final int GL_TEXTURE_BINDING_RECTANGLE_ARB = 0x84f6;
public static final int GL_PROXY_TEXTURE_RECTANGLE_ARB = 0x84f7;
public static final int GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB = 0x84f8;
public static final int GL_SAMPLER_2D_RECT_ARB = 0x8B63;
public static final int GL_SAMPLER_2D_RECT_SHADOW_ARB = 0x8B64;
private ARBTextureRectangle() {
}

View File

@ -32,34 +32,47 @@
package org.lwjgl.opengl;
public interface ARB_texture_rectangle {
/*
* Accepted by the <cap> parameter of Enable, Disable and
* IsEnabled; by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv and GetDoublev; and by the <target> parameter of
* BindTexture, GetTexParameterfv, GetTexParameteriv,
* TexParameterf, TexParameteri, TexParameterfv and TexParameteriv:
* Accepted by the <target> parameter of GetTexImage,
* GetTexLevelParameteriv, GetTexLevelParameterfv, TexImage2D,
* CopyTexImage2D, TexSubImage2D and CopySubTexImage2D:
/*
Accepted by the <cap> parameter of Enable, Disable and IsEnabled;
by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv
and GetDoublev; and by the <target> parameter of BindTexture,
GetTexParameterfv, GetTexParameteriv, TexParameterf, TexParameteri,
TexParameterfv and TexParameteriv:
Accepted by the <target> parameter of GetTexImage,
GetTexLevelParameteriv, GetTexLevelParameterfv, TexImage2D,
CopyTexImage2D, TexSubImage2D and CopySubTexImage2D:
*/
int GL_TEXTURE_RECTANGLE_ARB = 0x84F5;
/*
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv and GetDoublev:
Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
GetFloatv and GetDoublev:
*/
int GL_TEXTURE_BINDING_RECTANGLE_ARB = 0x84F6;
/*
* Accepted by the <target> parameter of GetTexLevelParameteriv,
* GetTexLevelParameterfv, GetTexParameteriv and TexImage2D:
Accepted by the <target> parameter of GetTexLevelParameteriv,
GetTexLevelParameterfv, GetTexParameteriv and TexImage2D:
*/
int GL_PROXY_TEXTURE_RECTANGLE_ARB = 0x84F7;
/*
* Accepted by the <pname> parameter of GetBooleanv, GetDoublev,
* GetIntegerv and GetFloatv:
Accepted by the <pname> parameter of GetBooleanv, GetDoublev,
GetIntegerv and GetFloatv:
*/
int GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB = 0x84F8;
/*
Returned by <type> parameter of GetActiveUniform when the location
<index> for program object <program> is of type sampler2DRect:
*/
int GL_SAMPLER_2D_RECT_ARB = 0x8B63;
/*
Returned by <type> parameter of GetActiveUniform when the location
<index> for program object <program> is of type sampler2DRectShadow:
*/
int GL_SAMPLER_2D_RECT_SHADOW_ARB = 0x8B64;
}