diff --git a/src/java/org/lwjgl/opengl/arb/ARBCubeMap.java b/src/java/org/lwjgl/opengl/arb/ARBCubeMap.java new file mode 100644 index 00000000..732db28f --- /dev/null +++ b/src/java/org/lwjgl/opengl/arb/ARBCubeMap.java @@ -0,0 +1,56 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:11:04 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.arb; + +public interface ARBCubeMap +{ + public static final int NORMAL_MAP_ARB = 0x8511; + public static final int REFLECTION_MAP_ARB = 0x8512; + public static final int TEXTURE_CUBE_MAP_ARB = 0x8513; + public static final int TEXTURE_BINDING_CUBE_MAP_ARB = 0x8514; + public static final int TEXTURE_CUBE_MAP_POSITIVE_X_ARB = 0x8515; + public static final int TEXTURE_CUBE_MAP_NEGATIVE_X_ARB = 0x8516; + public static final int TEXTURE_CUBE_MAP_POSITIVE_Y_ARB = 0x8517; + public static final int TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB = 0x8518; + public static final int TEXTURE_CUBE_MAP_POSITIVE_Z_ARB = 0x8519; + public static final int TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB = 0x851A; + public static final int PROXY_TEXTURE_CUBE_MAP_ARB = 0x851B; + public static final int MAX_CUBE_MAP_TEXTURE_SIZE_ARB = 0x851C; +} diff --git a/src/java/org/lwjgl/opengl/arb/ARBDepthTexture.java b/src/java/org/lwjgl/opengl/arb/ARBDepthTexture.java new file mode 100644 index 00000000..82fe68e0 --- /dev/null +++ b/src/java/org/lwjgl/opengl/arb/ARBDepthTexture.java @@ -0,0 +1,49 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:59:46 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.arb; + +public interface ARBDepthTexture +{ + public static final int DEPTH_COMPONENT16_ARB = 0x81A5; + public static final int DEPTH_COMPONENT24_ARB = 0x81A6; + public static final int DEPTH_COMPONENT32_ARB = 0x81A7; + public static final int TEXTURE_DEPTH_SIZE_ARB = 0x884A; + public static final int DEPTH_TEXTURE_MODE_ARB = 0x884B; +} diff --git a/src/java/org/lwjgl/opengl/arb/ARBMatrixPalette.java b/src/java/org/lwjgl/opengl/arb/ARBMatrixPalette.java new file mode 100644 index 00000000..0cfd55b6 --- /dev/null +++ b/src/java/org/lwjgl/opengl/arb/ARBMatrixPalette.java @@ -0,0 +1,54 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:32:23 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.arb; + +public interface ARBMatrixPalette +{ + public static final int MATRIX_PALETTE_ARB = 0x8840; + public static final int MAX_MATRIX_PALETTE_STACK_DEPTH_ARB = 0x8841; + public static final int MAX_PALETTE_MATRICES_ARB = 0x8842; + public static final int CURRENT_PALETTE_MATRIX_ARB = 0x8843; + public static final int MATRIX_INDEX_ARRAY_ARB = 0x8844; + public static final int CURRENT_MATRIX_INDEX_ARB = 0x8845; + public static final int MATRIX_INDEX_ARRAY_SIZE_ARB = 0x8846; + public static final int MATRIX_INDEX_ARRAY_TYPE_ARB = 0x8847; + public static final int MATRIX_INDEX_ARRAY_STRIDE_ARB = 0x8848; + public static final int MATRIX_INDEX_ARRAY_POINTER_ARB = 0x8849; +} diff --git a/src/java/org/lwjgl/opengl/arb/ARBMultisample.java b/src/java/org/lwjgl/opengl/arb/ARBMultisample.java new file mode 100644 index 00000000..b3d1adcf --- /dev/null +++ b/src/java/org/lwjgl/opengl/arb/ARBMultisample.java @@ -0,0 +1,53 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:21:23 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.arb; + +public interface ARBMultisample +{ + public static final int MULTISAMPLE_ARB = 0x809D; + public static final int SAMPLE_ALPHA_TO_COVERAGE_ARB = 0x809E; + public static final int SAMPLE_ALPHA_TO_ONE_ARB = 0x809F; + public static final int SAMPLE_COVERAGE_ARB = 0x80A0; + public static final int SAMPLE_BUFFERS_ARB = 0x80A8; + public static final int SAMPLES_ARB = 0x80A9; + public static final int SAMPLE_COVERAGE_VALUE_ARB = 0x80AA; + public static final int SAMPLE_COVERAGE_INVERT_ARB = 0x80AB; + public static final int MULTISAMPLE_BIT_ARB = 0x20000000; +} diff --git a/src/java/org/lwjgl/opengl/arb/ARBMultitexture.java b/src/java/org/lwjgl/opengl/arb/ARBMultitexture.java new file mode 100644 index 00000000..bc75ba90 --- /dev/null +++ b/src/java/org/lwjgl/opengl/arb/ARBMultitexture.java @@ -0,0 +1,79 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:06:09 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.arb; + +public interface ARBMultitexture +{ + public static final int TEXTURE0_ARB = 0x84C0; + public static final int TEXTURE1_ARB = 0x84C1; + public static final int TEXTURE2_ARB = 0x84C2; + public static final int TEXTURE3_ARB = 0x84C3; + public static final int TEXTURE4_ARB = 0x84C4; + public static final int TEXTURE5_ARB = 0x84C5; + public static final int TEXTURE6_ARB = 0x84C6; + public static final int TEXTURE7_ARB = 0x84C7; + public static final int TEXTURE8_ARB = 0x84C8; + public static final int TEXTURE9_ARB = 0x84C9; + public static final int TEXTURE10_ARB = 0x84CA; + public static final int TEXTURE11_ARB = 0x84CB; + public static final int TEXTURE12_ARB = 0x84CC; + public static final int TEXTURE13_ARB = 0x84CD; + public static final int TEXTURE14_ARB = 0x84CE; + public static final int TEXTURE15_ARB = 0x84CF; + public static final int TEXTURE16_ARB = 0x84D0; + public static final int TEXTURE17_ARB = 0x84D1; + public static final int TEXTURE18_ARB = 0x84D2; + public static final int TEXTURE19_ARB = 0x84D3; + public static final int TEXTURE20_ARB = 0x84D4; + public static final int TEXTURE21_ARB = 0x84D5; + public static final int TEXTURE22_ARB = 0x84D6; + public static final int TEXTURE23_ARB = 0x84D7; + public static final int TEXTURE24_ARB = 0x84D8; + public static final int TEXTURE25_ARB = 0x84D9; + public static final int TEXTURE26_ARB = 0x84DA; + public static final int TEXTURE27_ARB = 0x84DB; + public static final int TEXTURE28_ARB = 0x84DC; + public static final int TEXTURE29_ARB = 0x84DD; + public static final int TEXTURE30_ARB = 0x84DE; + public static final int TEXTURE31_ARB = 0x84DF; + public static final int ACTIVE_TEXTURE_ARB = 0x84E0; + public static final int CLIENT_ACTIVE_TEXTURE_ARB = 0x84E1; + public static final int MAX_TEXTURE_UNITS_ARB = 0x84E2; +} diff --git a/src/java/org/lwjgl/opengl/arb/ARBPointParameters.java b/src/java/org/lwjgl/opengl/arb/ARBPointParameters.java new file mode 100644 index 00000000..3fbd90a0 --- /dev/null +++ b/src/java/org/lwjgl/opengl/arb/ARBPointParameters.java @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:31:36 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.arb; + +public interface ARBPointParameters +{ + public static final int POINT_SIZE_MIN_ARB = 0x8126; + public static final int POINT_SIZE_MAX_ARB = 0x8127; + public static final int POINT_FADE_THRESHOLD_SIZE_ARB = 0x8128; + public static final int POINT_DISTANCE_ATTENUATION_ARB = 0x8129; +} diff --git a/src/java/org/lwjgl/opengl/arb/ARBShadow.java b/src/java/org/lwjgl/opengl/arb/ARBShadow.java new file mode 100644 index 00000000..a40099e0 --- /dev/null +++ b/src/java/org/lwjgl/opengl/arb/ARBShadow.java @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:58:50 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.arb; + +public interface ARBShadow +{ + public static final int TEXTURE_COMPARE_MODE_ARB = 0x884C; + public static final int TEXTURE_COMPARE_FUNC_ARB = 0x884D; + public static final int COMPARE_R_TO_TEXTURE_ARB = 0x884E; +} diff --git a/src/java/org/lwjgl/opengl/arb/ARBShadowAmbient.java b/src/java/org/lwjgl/opengl/arb/ARBShadowAmbient.java new file mode 100644 index 00000000..77dd7880 --- /dev/null +++ b/src/java/org/lwjgl/opengl/arb/ARBShadowAmbient.java @@ -0,0 +1,45 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:59:19 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.arb; + +public interface ARBShadowAmbient +{ + public static final int TEXTURE_COMPARE_FAIL_VALUE_ARB = 0x80BF; +} diff --git a/src/java/org/lwjgl/opengl/arb/ARBTextureBorderClamp.java b/src/java/org/lwjgl/opengl/arb/ARBTextureBorderClamp.java new file mode 100644 index 00000000..44a9060e --- /dev/null +++ b/src/java/org/lwjgl/opengl/arb/ARBTextureBorderClamp.java @@ -0,0 +1,45 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:16:42 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.arb; + +public interface ARBTextureBorderClamp +{ + public static final int CLAMP_TO_BORDER_ARB = 0x812D; +} diff --git a/src/java/org/lwjgl/opengl/arb/ARBTextureCompression.java b/src/java/org/lwjgl/opengl/arb/ARBTextureCompression.java new file mode 100644 index 00000000..694f7181 --- /dev/null +++ b/src/java/org/lwjgl/opengl/arb/ARBTextureCompression.java @@ -0,0 +1,55 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:10:08 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.arb; + +public interface ARBTextureCompression +{ + public static final int COMPRESSED_ALPHA_ARB = 0x84E9; + public static final int COMPRESSED_LUMINANCE_ARB = 0x84EA; + public static final int COMPRESSED_LUMINANCE_ALPHA_ARB = 0x84EB; + public static final int COMPRESSED_INTENSITY_ARB = 0x84EC; + public static final int COMPRESSED_RGB_ARB = 0x84ED; + public static final int COMPRESSED_RGBA_ARB = 0x84EE; + public static final int TEXTURE_COMPRESSION_HINT_ARB = 0x84EF; + public static final int TEXTURE_IMAGE_SIZE_ARB = 0x86A0; + public static final int TEXTURE_COMPRESSED_ARB = 0x86A1; + public static final int NUM_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A2; + public static final int COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A3; +} diff --git a/src/java/org/lwjgl/opengl/arb/ARBTextureEnvCombine.java b/src/java/org/lwjgl/opengl/arb/ARBTextureEnvCombine.java new file mode 100644 index 00000000..8a031506 --- /dev/null +++ b/src/java/org/lwjgl/opengl/arb/ARBTextureEnvCombine.java @@ -0,0 +1,65 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:14:40 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.arb; + +public interface ARBTextureEnvCombine +{ + public static final int COMBINE_ARB = 0x8570; + public static final int COMBINE_RGB_ARB = 0x8571; + public static final int COMBINE_ALPHA_ARB = 0x8572; + public static final int RGB_SCALE_ARB = 0x8573; + public static final int ADD_SIGNED_ARB = 0x8574; + public static final int INTERPOLATE_ARB = 0x8575; + public static final int CONSTANT_ARB = 0x8576; + public static final int PRIMARY_COLOR_ARB = 0x8577; + public static final int PREVIOUS_ARB = 0x8578; + public static final int SOURCE0_RGB_ARB = 0x8580; + public static final int SOURCE1_RGB_ARB = 0x8581; + public static final int SOURCE2_RGB_ARB = 0x8582; + public static final int SOURCE0_ALPHA_ARB = 0x8588; + public static final int SOURCE1_ALPHA_ARB = 0x8589; + public static final int SOURCE2_ALPHA_ARB = 0x858A; + public static final int OPERAND0_RGB_ARB = 0x8590; + public static final int OPERAND1_RGB_ARB = 0x8591; + public static final int OPERAND2_RGB_ARB = 0x8592; + public static final int OPERAND0_ALPHA_ARB = 0x8598; + public static final int OPERAND1_ALPHA_ARB = 0x8599; + public static final int OPERAND2_ALPHA_ARB = 0x859A; +} diff --git a/src/java/org/lwjgl/opengl/arb/ARBTextureEnvDot3.java b/src/java/org/lwjgl/opengl/arb/ARBTextureEnvDot3.java new file mode 100644 index 00000000..58bc43fa --- /dev/null +++ b/src/java/org/lwjgl/opengl/arb/ARBTextureEnvDot3.java @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:15:16 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.arb; + +public interface ARBTextureEnvDot3 +{ + public static final int DOT3_RGB_ARB = 0x86AE; + public static final int DOT3_RGBA_ARB = 0x86AF; + +} diff --git a/src/java/org/lwjgl/opengl/arb/ARBTextureMirroredRepeat.java b/src/java/org/lwjgl/opengl/arb/ARBTextureMirroredRepeat.java new file mode 100644 index 00000000..5c18cb88 --- /dev/null +++ b/src/java/org/lwjgl/opengl/arb/ARBTextureMirroredRepeat.java @@ -0,0 +1,45 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:58:27 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.arb; + +public interface ARBTextureMirroredRepeat +{ + public static final int MIRRORED_REPEAT_ARB = 0x8370; +} diff --git a/src/java/org/lwjgl/opengl/arb/ARBTransposeMatrix.java b/src/java/org/lwjgl/opengl/arb/ARBTransposeMatrix.java new file mode 100644 index 00000000..88183840 --- /dev/null +++ b/src/java/org/lwjgl/opengl/arb/ARBTransposeMatrix.java @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:08:52 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.arb; + +public interface ARBTransposeMatrix +{ + public static final int TRANSPOSE_MODELVIEW_MATRIX_ARB = 0x84E3; + public static final int TRANSPOSE_PROJECTION_MATRIX_ARB = 0x84E4; + public static final int TRANSPOSE_TEXTURE_MATRIX_ARB = 0x84E5; + public static final int TRANSPOSE_COLOR_MATRIX_ARB = 0x84E6; +} diff --git a/src/java/org/lwjgl/opengl/arb/ARBVertexBlend.java b/src/java/org/lwjgl/opengl/arb/ARBVertexBlend.java new file mode 100644 index 00000000..686ac65f --- /dev/null +++ b/src/java/org/lwjgl/opengl/arb/ARBVertexBlend.java @@ -0,0 +1,86 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:31:57 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.arb; + +public interface ARBVertexBlend +{ + public static final int MAX_VERTEX_UNITS_ARB = 0x86A4; + public static final int ACTIVE_VERTEX_UNITS_ARB = 0x86A5; + public static final int WEIGHT_SUM_UNITY_ARB = 0x86A6; + public static final int VERTEX_BLEND_ARB = 0x86A7; + public static final int CURRENT_WEIGHT_ARB = 0x86A8; + public static final int WEIGHT_ARRAY_TYPE_ARB = 0x86A9; + public static final int WEIGHT_ARRAY_STRIDE_ARB = 0x86AA; + public static final int WEIGHT_ARRAY_SIZE_ARB = 0x86AB; + public static final int WEIGHT_ARRAY_POINTER_ARB = 0x86AC; + public static final int WEIGHT_ARRAY_ARB = 0x86AD; + public static final int MODELVIEW0_ARB = 0x1700; + public static final int MODELVIEW1_ARB = 0x850a; + public static final int MODELVIEW2_ARB = 0x8722; + public static final int MODELVIEW3_ARB = 0x8723; + public static final int MODELVIEW4_ARB = 0x8724; + public static final int MODELVIEW5_ARB = 0x8725; + public static final int MODELVIEW6_ARB = 0x8726; + public static final int MODELVIEW7_ARB = 0x8727; + public static final int MODELVIEW8_ARB = 0x8728; + public static final int MODELVIEW9_ARB = 0x8729; + public static final int MODELVIEW10_ARB = 0x872A; + public static final int MODELVIEW11_ARB = 0x872B; + public static final int MODELVIEW12_ARB = 0x872C; + public static final int MODELVIEW13_ARB = 0x872D; + public static final int MODELVIEW14_ARB = 0x872E; + public static final int MODELVIEW15_ARB = 0x872F; + public static final int MODELVIEW16_ARB = 0x8730; + public static final int MODELVIEW17_ARB = 0x8731; + public static final int MODELVIEW18_ARB = 0x8732; + public static final int MODELVIEW19_ARB = 0x8733; + public static final int MODELVIEW20_ARB = 0x8734; + public static final int MODELVIEW21_ARB = 0x8735; + public static final int MODELVIEW22_ARB = 0x8736; + public static final int MODELVIEW23_ARB = 0x8737; + public static final int MODELVIEW24_ARB = 0x8738; + public static final int MODELVIEW25_ARB = 0x8739; + public static final int MODELVIEW26_ARB = 0x873A; + public static final int MODELVIEW27_ARB = 0x873B; + public static final int MODELVIEW28_ARB = 0x873C; + public static final int MODELVIEW29_ARB = 0x873D; + public static final int MODELVIEW30_ARB = 0x873E; + public static final int MODELVIEW31_ARB = 0x873F; +} diff --git a/src/java/org/lwjgl/opengl/arb/ARBVertexProgram.java b/src/java/org/lwjgl/opengl/arb/ARBVertexProgram.java new file mode 100644 index 00000000..74490256 --- /dev/null +++ b/src/java/org/lwjgl/opengl/arb/ARBVertexProgram.java @@ -0,0 +1,123 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 16:02:30 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.arb; + +public interface ARBVertexProgram +{ + public static final int VERTEX_PROGRAM_ARB = 0x8620; + public static final int VERTEX_PROGRAM_POINT_SIZE_ARB = 0x8642; + public static final int VERTEX_PROGRAM_TWO_SIDE_ARB = 0x8643; + public static final int COLOR_SUM_ARB = 0x8458; + public static final int PROGRAM_FORMAT_ASCII_ARB = 0x8875; + public static final int VERTEX_ATTRIB_ARRAY_ENABLED_ARB = 0x8622; + public static final int VERTEX_ATTRIB_ARRAY_SIZE_ARB = 0x8623; + public static final int VERTEX_ATTRIB_ARRAY_STRIDE_ARB = 0x8624; + public static final int VERTEX_ATTRIB_ARRAY_TYPE_ARB = 0x8625; + public static final int VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB = 0x886A; + public static final int CURRENT_VERTEX_ATTRIB_ARB = 0x8626; + public static final int VERTEX_ATTRIB_ARRAY_POINTER_ARB = 0x8645; + public static final int PROGRAM_LENGTH_ARB = 0x8627; + public static final int PROGRAM_FORMAT_ARB = 0x8876; + public static final int PROGRAM_BINDING_ARB = 0x8677; + public static final int PROGRAM_INSTRUCTIONS_ARB = 0x88A0; + public static final int MAX_PROGRAM_INSTRUCTIONS_ARB = 0x88A1; + public static final int PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A2; + public static final int MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A3; + public static final int PROGRAM_TEMPORARIES_ARB = 0x88A4; + public static final int MAX_PROGRAM_TEMPORARIES_ARB = 0x88A5; + public static final int PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A6; + public static final int MAX_PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A7; + public static final int PROGRAM_PARAMETERS_ARB = 0x88A8; + public static final int MAX_PROGRAM_PARAMETERS_ARB = 0x88A9; + public static final int PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AA; + public static final int MAX_PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AB; + public static final int PROGRAM_ATTRIBS_ARB = 0x88AC; + public static final int MAX_PROGRAM_ATTRIBS_ARB = 0x88AD; + public static final int PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AE; + public static final int MAX_PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AF; + public static final int PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B0; + public static final int MAX_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B1; + public static final int PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B2; + public static final int MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B3; + public static final int MAX_PROGRAM_LOCAL_PARAMETERS_ARB = 0x88B4; + public static final int MAX_PROGRAM_ENV_PARAMETERS_ARB = 0x88B5; + public static final int PROGRAM_UNDER_NATIVE_LIMITS_ARB = 0x88B6; + public static final int PROGRAM_STRING_ARB = 0x8628; + public static final int PROGRAM_ERROR_POSITION_ARB = 0x864B; + public static final int CURRENT_MATRIX_ARB = 0x8641; + public static final int TRANSPOSE_CURRENT_MATRIX_ARB = 0x88B7; + public static final int CURRENT_MATRIX_STACK_DEPTH_ARB = 0x8640; + public static final int MAX_VERTEX_ATTRIBS_ARB = 0x8869; + public static final int MAX_PROGRAM_MATRICES_ARB = 0x862F; + public static final int MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB = 0x862E; + public static final int PROGRAM_ERROR_STRING_ARB = 0x8874; + public static final int MATRIX0_ARB = 0x88C0; + public static final int MATRIX1_ARB = 0x88C1; + public static final int MATRIX2_ARB = 0x88C2; + public static final int MATRIX3_ARB = 0x88C3; + public static final int MATRIX4_ARB = 0x88C4; + public static final int MATRIX5_ARB = 0x88C5; + public static final int MATRIX6_ARB = 0x88C6; + public static final int MATRIX7_ARB = 0x88C7; + public static final int MATRIX8_ARB = 0x88C8; + public static final int MATRIX9_ARB = 0x88C9; + public static final int MATRIX10_ARB = 0x88CA; + public static final int MATRIX11_ARB = 0x88CB; + public static final int MATRIX12_ARB = 0x88CC; + public static final int MATRIX13_ARB = 0x88CD; + public static final int MATRIX14_ARB = 0x88CE; + public static final int MATRIX15_ARB = 0x88CF; + public static final int MATRIX16_ARB = 0x88D0; + public static final int MATRIX17_ARB = 0x88D1; + public static final int MATRIX18_ARB = 0x88D2; + public static final int MATRIX19_ARB = 0x88D3; + public static final int MATRIX20_ARB = 0x88D4; + public static final int MATRIX21_ARB = 0x88D5; + public static final int MATRIX22_ARB = 0x88D6; + public static final int MATRIX23_ARB = 0x88D7; + public static final int MATRIX24_ARB = 0x88D8; + public static final int MATRIX25_ARB = 0x88D9; + public static final int MATRIX26_ARB = 0x88DA; + public static final int MATRIX27_ARB = 0x88DB; + public static final int MATRIX28_ARB = 0x88DC; + public static final int MATRIX29_ARB = 0x88DD; + public static final int MATRIX30_ARB = 0x88DE; + public static final int MATRIX31_ARB = 0x88DF; +} diff --git a/src/java/org/lwjgl/opengl/ati/ATIElementArray.java b/src/java/org/lwjgl/opengl/ati/ATIElementArray.java new file mode 100644 index 00000000..a59b6e4d --- /dev/null +++ b/src/java/org/lwjgl/opengl/ati/ATIElementArray.java @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:34:52 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.ati; + +public interface ATIElementArray +{ + public static final int ELEMENT_ARRAY_ATI = 0x8768; + public static final int ELEMENT_ARRAY_TYPE_ATI = 0x8769; + public static final int ELEMENT_ARRAY_POINTER_ATI = 0x876A; +} diff --git a/src/java/org/lwjgl/opengl/ati/ATIEnvmapBumpmap.java b/src/java/org/lwjgl/opengl/ati/ATIEnvmapBumpmap.java new file mode 100644 index 00000000..91d3fc68 --- /dev/null +++ b/src/java/org/lwjgl/opengl/ati/ATIEnvmapBumpmap.java @@ -0,0 +1,52 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:33:36 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.ati; + +public interface ATIEnvmapBumpmap +{ + public static final int BUMP_ROT_MATRIX_ATI = 0x8775; + public static final int BUMP_ROT_MATRIX_SIZE_ATI = 0x8776; + public static final int BUMP_NUM_TEX_UNITS_ATI = 0x8777; + public static final int BUMP_TEX_UNITS_ATI = 0x8778; + public static final int DUDV_ATI = 0x8779; + public static final int DU8DV8_ATI = 0x877A; + public static final int BUMP_ENVMAP_ATI = 0x877B; + public static final int BUMP_TARGET_ATI = 0x877C; +} diff --git a/src/java/org/lwjgl/opengl/ati/ATIFragmentShader.java b/src/java/org/lwjgl/opengl/ati/ATIFragmentShader.java new file mode 100644 index 00000000..7de0dfbf --- /dev/null +++ b/src/java/org/lwjgl/opengl/ati/ATIFragmentShader.java @@ -0,0 +1,152 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:34:05 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + * + * Note: 2X_BIT_ATI, 4X_BIT_ATI and 8X_BIT_ATI has been changed to X2_BIT_ATI, X4_BIT_ATI and X8_BIT_ATI + * because variables cannot start with a number. + * + */ +package org.lwjgl.opengl.ati; + +public interface ATIFragmentShader +{ + public static final int FRAGMENT_SHADER_ATI = 0x8920; + public static final int REG_0_ATI = 0x8921; + public static final int REG_1_ATI = 0x8922; + public static final int REG_2_ATI = 0x8923; + public static final int REG_3_ATI = 0x8924; + public static final int REG_4_ATI = 0x8925; + public static final int REG_5_ATI = 0x8926; + public static final int REG_6_ATI = 0x8927; + public static final int REG_7_ATI = 0x8928; + public static final int REG_8_ATI = 0x8929; + public static final int REG_9_ATI = 0x892A; + public static final int REG_10_ATI = 0x892B; + public static final int REG_11_ATI = 0x892C; + public static final int REG_12_ATI = 0x892D; + public static final int REG_13_ATI = 0x892E; + public static final int REG_14_ATI = 0x892F; + public static final int REG_15_ATI = 0x8930; + public static final int REG_16_ATI = 0x8931; + public static final int REG_17_ATI = 0x8932; + public static final int REG_18_ATI = 0x8933; + public static final int REG_19_ATI = 0x8934; + public static final int REG_20_ATI = 0x8935; + public static final int REG_21_ATI = 0x8936; + public static final int REG_22_ATI = 0x8937; + public static final int REG_23_ATI = 0x8938; + public static final int REG_24_ATI = 0x8939; + public static final int REG_25_ATI = 0x893A; + public static final int REG_26_ATI = 0x893B; + public static final int REG_27_ATI = 0x893C; + public static final int REG_28_ATI = 0x893D; + public static final int REG_29_ATI = 0x893E; + public static final int REG_30_ATI = 0x893F; + public static final int REG_31_ATI = 0x8940; + public static final int CON_0_ATI = 0x8941; + public static final int CON_1_ATI = 0x8942; + public static final int CON_2_ATI = 0x8943; + public static final int CON_3_ATI = 0x8944; + public static final int CON_4_ATI = 0x8945; + public static final int CON_5_ATI = 0x8946; + public static final int CON_6_ATI = 0x8947; + public static final int CON_7_ATI = 0x8948; + public static final int CON_8_ATI = 0x8949; + public static final int CON_9_ATI = 0x894A; + public static final int CON_10_ATI = 0x894B; + public static final int CON_11_ATI = 0x894C; + public static final int CON_12_ATI = 0x894D; + public static final int CON_13_ATI = 0x894E; + public static final int CON_14_ATI = 0x894F; + public static final int CON_15_ATI = 0x8950; + public static final int CON_16_ATI = 0x8951; + public static final int CON_17_ATI = 0x8952; + public static final int CON_18_ATI = 0x8953; + public static final int CON_19_ATI = 0x8954; + public static final int CON_20_ATI = 0x8955; + public static final int CON_21_ATI = 0x8956; + public static final int CON_22_ATI = 0x8957; + public static final int CON_23_ATI = 0x8958; + public static final int CON_24_ATI = 0x8959; + public static final int CON_25_ATI = 0x895A; + public static final int CON_26_ATI = 0x895B; + public static final int CON_27_ATI = 0x895C; + public static final int CON_28_ATI = 0x895D; + public static final int CON_29_ATI = 0x895E; + public static final int CON_30_ATI = 0x895F; + public static final int CON_31_ATI = 0x8960; + public static final int MOV_ATI = 0x8961; + public static final int ADD_ATI = 0x8963; + public static final int MUL_ATI = 0x8964; + public static final int SUB_ATI = 0x8965; + public static final int DOT3_ATI = 0x8966; + public static final int DOT4_ATI = 0x8967; + public static final int MAD_ATI = 0x8968; + public static final int LERP_ATI = 0x8969; + public static final int CND_ATI = 0x896A; + public static final int CND0_ATI = 0x896B; + public static final int DOT2_ADD_ATI = 0x896C; + public static final int SECONDARY_INTERPOLATOR_ATI = 0x896D; + public static final int NUM_FRAGMENT_REGISTERS_ATI = 0x896E; + public static final int NUM_FRAGMENT_CONSTANTS_ATI = 0x896F; + public static final int NUM_PASSES_ATI = 0x8970; + public static final int NUM_INSTRUCTIONS_PER_PASS_ATI = 0x8971; + public static final int NUM_INSTRUCTIONS_TOTAL_ATI = 0x8972; + public static final int NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI = 0x8973; + public static final int NUM_LOOPBACK_COMPONENTS_ATI = 0x8974; + public static final int COLOR_ALPHA_PAIRING_ATI = 0x8975; + public static final int SWIZZLE_STR_ATI = 0x8976; + public static final int SWIZZLE_STQ_ATI = 0x8977; + public static final int SWIZZLE_STR_DR_ATI = 0x8978; + public static final int SWIZZLE_STQ_DQ_ATI = 0x8979; + public static final int SWIZZLE_STRQ_ATI = 0x897A; + public static final int SWIZZLE_STRQ_DQ_ATI = 0x897B; + public static final int RED_BIT_ATI = 0x00000001; + public static final int GREEN_BIT_ATI = 0x00000002; + public static final int BLUE_BIT_ATI = 0x00000004; + public static final int X2_BIT_ATI = 0x00000001; + public static final int X4_BIT_ATI = 0x00000002; + public static final int X8_BIT_ATI = 0x00000004; + public static final int HALF_BIT_ATI = 0x00000008; + public static final int QUARTER_BIT_ATI = 0x00000010; + public static final int EIGHTH_BIT_ATI = 0x00000020; + public static final int SATURATE_BIT_ATI = 0x00000040; + public static final int COMP_BIT_ATI = 0x00000002; + public static final int NEGATE_BIT_ATI = 0x00000004; + public static final int BIAS_BIT_ATI = 0x00000008; +} diff --git a/src/java/org/lwjgl/opengl/ati/ATIPnTriangles.java b/src/java/org/lwjgl/opengl/ati/ATIPnTriangles.java new file mode 100644 index 00000000..5aa54c73 --- /dev/null +++ b/src/java/org/lwjgl/opengl/ati/ATIPnTriangles.java @@ -0,0 +1,53 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:31:14 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.ati; + +public interface ATIPnTriangles +{ + public static final int PN_TRIANGLES_ATI = 0x87F0; + public static final int MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI = 0x87F1; + public static final int PN_TRIANGLES_POINT_MODE_ATI = 0x87F2; + public static final int PN_TRIANGLES_NORMAL_MODE_ATI = 0x87F3; + public static final int PN_TRIANGLES_TESSELATION_LEVEL_ATI = 0x87F4; + public static final int PN_TRIANGLES_POINT_MODE_LINEAR_ATI = 0x87F5; + public static final int PN_TRIANGLES_POINT_MODE_CUBIC_ATI = 0x87F6; + public static final int PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI = 0x87F7; + public static final int PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI = 0x87F8; +} diff --git a/src/java/org/lwjgl/opengl/ati/ATITextureMirrorOnce.java b/src/java/org/lwjgl/opengl/ati/ATITextureMirrorOnce.java new file mode 100644 index 00000000..ab036331 --- /dev/null +++ b/src/java/org/lwjgl/opengl/ati/ATITextureMirrorOnce.java @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:34:34 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.ati; + +public interface ATITextureMirrorOnce +{ + public static final int MIRROR_CLAMP_ATI = 0x8742; + public static final int MIRROR_CLAMP_TO_EDGE_ATI = 0x8743; +} diff --git a/src/java/org/lwjgl/opengl/ati/ATIVertexArrayObject.java b/src/java/org/lwjgl/opengl/ati/ATIVertexArrayObject.java new file mode 100644 index 00000000..c5de892b --- /dev/null +++ b/src/java/org/lwjgl/opengl/ati/ATIVertexArrayObject.java @@ -0,0 +1,52 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:36:01 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.ati; + +public interface ATIVertexArrayObject +{ + public static final int STATIC_ATI = 0x8760; + public static final int DYNAMIC_ATI = 0x8761; + public static final int PRESERVE_ATI = 0x8762; + public static final int DISCARD_ATI = 0x8763; + public static final int OBJECT_BUFFER_SIZE_ATI = 0x8764; + public static final int OBJECT_BUFFER_USAGE_ATI = 0x8765; + public static final int ARRAY_OBJECT_BUFFER_ATI = 0x8766; + public static final int ARRAY_OBJECT_OFFSET_ATI = 0x8767; +} diff --git a/src/java/org/lwjgl/opengl/ati/ATIVertexStreams.java b/src/java/org/lwjgl/opengl/ati/ATIVertexStreams.java new file mode 100644 index 00000000..1296259e --- /dev/null +++ b/src/java/org/lwjgl/opengl/ati/ATIVertexStreams.java @@ -0,0 +1,54 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:35:16 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.ati; + +public interface ATIVertexStreams +{ + public static final int MAX_VERTEX_STREAMS_ATI = 0x876B; + public static final int VERTEX_SOURCE_ATI = 0x876C; + public static final int VERTEX_STREAM0_ATI = 0x876D; + public static final int VERTEX_STREAM1_ATI = 0x876E; + public static final int VERTEX_STREAM2_ATI = 0x876F; + public static final int VERTEX_STREAM3_ATI = 0x8770; + public static final int VERTEX_STREAM4_ATI = 0x8771; + public static final int VERTEX_STREAM5_ATI = 0x8772; + public static final int VERTEX_STREAM6_ATI = 0x8773; + public static final int VERTEX_STREAM7_ATI = 0x8774; +} diff --git a/src/java/org/lwjgl/opengl/atix/ATIXPointSprites.java b/src/java/org/lwjgl/opengl/atix/ATIXPointSprites.java new file mode 100644 index 00000000..7de34d8e --- /dev/null +++ b/src/java/org/lwjgl/opengl/atix/ATIXPointSprites.java @@ -0,0 +1,50 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:36:54 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.atix; + +public interface ATIXPointSprites +{ + public static final int TEXTURE_POINT_MODE_ATIX = 0x60b0; + public static final int TEXTURE_POINT_ONE_COORD_ATIX = 0x60b1; + public static final int TEXTURE_POINT_SPRITE_ATIX = 0x60b2; + public static final int POINT_SPRITE_CULL_MODE_ATIX = 0x60b3; + public static final int POINT_SPRITE_CULL_CENTER_ATIX = 0x60b4; + public static final int POINT_SPRITE_CULL_CLIP_ATIX = 0x60b5; +} diff --git a/src/java/org/lwjgl/opengl/atix/ATIXTextureEnvRoute.java b/src/java/org/lwjgl/opengl/atix/ATIXTextureEnvRoute.java new file mode 100644 index 00000000..2e8e285d --- /dev/null +++ b/src/java/org/lwjgl/opengl/atix/ATIXTextureEnvRoute.java @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:37:26 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.atix; + +public interface ATIXTextureEnvRoute +{ + public static final int SECONDARY_COLOR_ATIX = 0x8747; + public static final int TEXTURE_OUTPUT_RGB_ATIX = 0x8748; + public static final int TEXTURE_OUTPUT_ALPHA_ATIX = 0x8749; +} diff --git a/src/java/org/lwjgl/opengl/ext/EXTAgbr.java b/src/java/org/lwjgl/opengl/ext/EXTAgbr.java new file mode 100644 index 00000000..aa26de28 --- /dev/null +++ b/src/java/org/lwjgl/opengl/ext/EXTAgbr.java @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:29:12 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.ext; + +public interface EXTAgbr +{ + + public static final int ABGR_EXT = 0x8000; +} diff --git a/src/java/org/lwjgl/opengl/ext/EXTCompiledVertexArray.java b/src/java/org/lwjgl/opengl/ext/EXTCompiledVertexArray.java new file mode 100644 index 00000000..bfacfedb --- /dev/null +++ b/src/java/org/lwjgl/opengl/ext/EXTCompiledVertexArray.java @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:14:06 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.ext; + +public interface EXTCompiledVertexArray +{ + public static final int ARRAY_ELEMENT_LOCK_FIRST_EXT = 0x81A8; + public static final int ARRAY_ELEMENT_LOCK_COUNT_EXT = 0x81A9; + +} diff --git a/src/java/org/lwjgl/opengl/ext/EXTDrawRangeElements.java b/src/java/org/lwjgl/opengl/ext/EXTDrawRangeElements.java new file mode 100644 index 00000000..766d460d --- /dev/null +++ b/src/java/org/lwjgl/opengl/ext/EXTDrawRangeElements.java @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 16:00:36 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.ext; + +public interface EXTDrawRangeElements +{ + public static final int MAX_ELEMENTS_VERTICES_EXT = 0x80E8; + public static final int MAX_ELEMENTS_INDICES_EXT = 0x80E9; +} diff --git a/src/java/org/lwjgl/opengl/ext/EXTFogCoord.java b/src/java/org/lwjgl/opengl/ext/EXTFogCoord.java new file mode 100644 index 00000000..394c9005 --- /dev/null +++ b/src/java/org/lwjgl/opengl/ext/EXTFogCoord.java @@ -0,0 +1,53 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:17:44 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.ext; + +public interface EXTFogCoord +{ + public static final int FOG_COORDINATE_SOURCE_EXT = 0x8450; + public static final int FOG_COORDINATE_EXT = 0x8451; + public static final int FRAGMENT_DEPTH_EXT = 0x8452; + public static final int CURRENT_FOG_COORDINATE_EXT = 0x8453; + public static final int FOG_COORDINATE_ARRAY_TYPE_EXT = 0x8454; + public static final int FOG_COORDINATE_ARRAY_STRIDE_EXT = 0x8455; + public static final int FOG_COORDINATE_ARRAY_POINTER_EXT = 0x8456; + public static final int FOG_COORDINATE_ARRAY_EXT = 0x8457; + +} diff --git a/src/java/org/lwjgl/opengl/ext/EXTPointParameters.java b/src/java/org/lwjgl/opengl/ext/EXTPointParameters.java new file mode 100644 index 00000000..0acc20a7 --- /dev/null +++ b/src/java/org/lwjgl/opengl/ext/EXTPointParameters.java @@ -0,0 +1,49 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:20:06 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.ext; + +public interface EXTPointParameters +{ + public static final int POINT_SIZE_MIN_EXT = 0x8126; + public static final int POINT_SIZE_MAX_EXT = 0x8127; + public static final int POINT_FADE_THRESHOLD_SIZE_EXT = 0x8128; + public static final int DISTANCE_ATTENUATION_EXT = 0x8129; + +} diff --git a/src/java/org/lwjgl/opengl/ext/EXTSecondaryColor.java b/src/java/org/lwjgl/opengl/ext/EXTSecondaryColor.java new file mode 100644 index 00000000..a91ce548 --- /dev/null +++ b/src/java/org/lwjgl/opengl/ext/EXTSecondaryColor.java @@ -0,0 +1,52 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:17:13 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.ext; + +public interface EXTSecondaryColor +{ + public static final int COLOR_SUM_EXT = 0x8458; + public static final int CURRENT_SECONDARY_COLOR_EXT = 0x8459; + public static final int SECONDARY_COLOR_ARRAY_SIZE_EXT = 0x845A; + public static final int SECONDARY_COLOR_ARRAY_TYPE_EXT = 0x845B; + public static final int SECONDARY_COLOR_ARRAY_STRIDE_EXT = 0x845C; + public static final int SECONDARY_COLOR_ARRAY_POINTER_EXT = 0x845D; + public static final int SECONDARY_COLOR_ARRAY_EXT = 0x845E; + +} diff --git a/src/java/org/lwjgl/opengl/ext/EXTStencilTwoSide.java b/src/java/org/lwjgl/opengl/ext/EXTStencilTwoSide.java new file mode 100644 index 00000000..45e73a13 --- /dev/null +++ b/src/java/org/lwjgl/opengl/ext/EXTStencilTwoSide.java @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 16:01:46 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.ext; + +public interface EXTStencilTwoSide +{ + public static final int STENCIL_TEST_TWO_SIDE_EXT = 0x8910; + public static final int ACTIVE_STENCIL_FACE_EXT = 0x8911; +} diff --git a/src/java/org/lwjgl/opengl/ext/EXTStencilWrap.java b/src/java/org/lwjgl/opengl/ext/EXTStencilWrap.java new file mode 100644 index 00000000..087877f0 --- /dev/null +++ b/src/java/org/lwjgl/opengl/ext/EXTStencilWrap.java @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:29:34 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.ext; + +public interface EXTStencilWrap +{ + public static final int INCR_WRAP_EXT = 0x8507; + public static final int DECR_WRAP_EXT = 0x8508; +} diff --git a/src/java/org/lwjgl/opengl/ext/EXTTextureCompressionS3TC.java b/src/java/org/lwjgl/opengl/ext/EXTTextureCompressionS3TC.java new file mode 100644 index 00000000..45bc0b8c --- /dev/null +++ b/src/java/org/lwjgl/opengl/ext/EXTTextureCompressionS3TC.java @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 16:01:13 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.ext; + +public interface EXTTextureCompressionS3TC +{ + public static final int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0; + public static final int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; + public static final int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; + public static final int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3; +} diff --git a/src/java/org/lwjgl/opengl/ext/EXTTextureFilterAnisotropic.java b/src/java/org/lwjgl/opengl/ext/EXTTextureFilterAnisotropic.java new file mode 100644 index 00000000..0d75b730 --- /dev/null +++ b/src/java/org/lwjgl/opengl/ext/EXTTextureFilterAnisotropic.java @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:24:27 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.ext; + +public interface EXTTextureFilterAnisotropic +{ + public static final int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; + public static final int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; +} diff --git a/src/java/org/lwjgl/opengl/ext/EXTTextureLODBias.java b/src/java/org/lwjgl/opengl/ext/EXTTextureLODBias.java new file mode 100644 index 00000000..b5508ef0 --- /dev/null +++ b/src/java/org/lwjgl/opengl/ext/EXTTextureLODBias.java @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:29:59 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.ext; + +public interface EXTTextureLODBias +{ + public static final int TEXTURE_FILTER_CONTROL_EXT = 0x8500; + public static final int TEXTURE_LOD_BIAS_EXT = 0x8501; + public static final int MAX_TEXTURE_LOD_BIAS_EXT = 0x84FD; +} diff --git a/src/java/org/lwjgl/opengl/ext/EXTVertexShader.java b/src/java/org/lwjgl/opengl/ext/EXTVertexShader.java new file mode 100644 index 00000000..fb810419 --- /dev/null +++ b/src/java/org/lwjgl/opengl/ext/EXTVertexShader.java @@ -0,0 +1,154 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:33:02 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.ext; + +public interface EXTVertexShader +{ + public static final int VERTEX_SHADER_EXT = 0x8780; + public static final int VERTEX_SHADER_BINDING_EXT = 0x8781; + public static final int OP_INDEX_EXT = 0x8782; + public static final int OP_NEGATE_EXT = 0x8783; + public static final int OP_DOT3_EXT = 0x8784; + public static final int OP_DOT4_EXT = 0x8785; + public static final int OP_MUL_EXT = 0x8786; + public static final int OP_ADD_EXT = 0x8787; + public static final int OP_MADD_EXT = 0x8788; + public static final int OP_FRAC_EXT = 0x8789; + public static final int OP_MAX_EXT = 0x878A; + public static final int OP_MIN_EXT = 0x878B; + public static final int OP_SET_GE_EXT = 0x878C; + public static final int OP_SET_LT_EXT = 0x878D; + public static final int OP_CLAMP_EXT = 0x878E; + public static final int OP_FLOOR_EXT = 0x878F; + public static final int OP_ROUND_EXT = 0x8790; + public static final int OP_EXP_BASE_2_EXT = 0x8791; + public static final int OP_LOG_BASE_2_EXT = 0x8792; + public static final int OP_POWER_EXT = 0x8793; + public static final int OP_RECIP_EXT = 0x8794; + public static final int OP_RECIP_SQRT_EXT = 0x8795; + public static final int OP_SUB_EXT = 0x8796; + public static final int OP_CROSS_PRODUCT_EXT = 0x8797; + public static final int OP_MULTIPLY_MATRIX_EXT = 0x8798; + public static final int OP_MOV_EXT = 0x8799; + public static final int OUTPUT_VERTEX_EXT = 0x879A; + public static final int OUTPUT_COLOR0_EXT = 0x879B; + public static final int OUTPUT_COLOR1_EXT = 0x879C; + public static final int OUTPUT_TEXTURE_COORD0_EXT = 0x879D; + public static final int OUTPUT_TEXTURE_COORD1_EXT = 0x879E; + public static final int OUTPUT_TEXTURE_COORD2_EXT = 0x879F; + public static final int OUTPUT_TEXTURE_COORD3_EXT = 0x87A0; + public static final int OUTPUT_TEXTURE_COORD4_EXT = 0x87A1; + public static final int OUTPUT_TEXTURE_COORD5_EXT = 0x87A2; + public static final int OUTPUT_TEXTURE_COORD6_EXT = 0x87A3; + public static final int OUTPUT_TEXTURE_COORD7_EXT = 0x87A4; + public static final int OUTPUT_TEXTURE_COORD8_EXT = 0x87A5; + public static final int OUTPUT_TEXTURE_COORD9_EXT = 0x87A6; + public static final int OUTPUT_TEXTURE_COORD10_EXT = 0x87A7; + public static final int OUTPUT_TEXTURE_COORD11_EXT = 0x87A8; + public static final int OUTPUT_TEXTURE_COORD12_EXT = 0x87A9; + public static final int OUTPUT_TEXTURE_COORD13_EXT = 0x87AA; + public static final int OUTPUT_TEXTURE_COORD14_EXT = 0x87AB; + public static final int OUTPUT_TEXTURE_COORD15_EXT = 0x87AC; + public static final int OUTPUT_TEXTURE_COORD16_EXT = 0x87AD; + public static final int OUTPUT_TEXTURE_COORD17_EXT = 0x87AE; + public static final int OUTPUT_TEXTURE_COORD18_EXT = 0x87AF; + public static final int OUTPUT_TEXTURE_COORD19_EXT = 0x87B0; + public static final int OUTPUT_TEXTURE_COORD20_EXT = 0x87B1; + public static final int OUTPUT_TEXTURE_COORD21_EXT = 0x87B2; + public static final int OUTPUT_TEXTURE_COORD22_EXT = 0x87B3; + public static final int OUTPUT_TEXTURE_COORD23_EXT = 0x87B4; + public static final int OUTPUT_TEXTURE_COORD24_EXT = 0x87B5; + public static final int OUTPUT_TEXTURE_COORD25_EXT = 0x87B6; + public static final int OUTPUT_TEXTURE_COORD26_EXT = 0x87B7; + public static final int OUTPUT_TEXTURE_COORD27_EXT = 0x87B8; + public static final int OUTPUT_TEXTURE_COORD28_EXT = 0x87B9; + public static final int OUTPUT_TEXTURE_COORD29_EXT = 0x87BA; + public static final int OUTPUT_TEXTURE_COORD30_EXT = 0x87BB; + public static final int OUTPUT_TEXTURE_COORD31_EXT = 0x87BC; + public static final int OUTPUT_FOG_EXT = 0x87BD; + public static final int SCALAR_EXT = 0x87BE; + public static final int VECTOR_EXT = 0x87BF; + public static final int MATRIX_EXT = 0x87C0; + public static final int VARIANT_EXT = 0x87C1; + public static final int INVARIANT_EXT = 0x87C2; + public static final int LOCAL_CONSTANT_EXT = 0x87C3; + public static final int LOCAL_EXT = 0x87C4; + public static final int MAX_VERTEX_SHADER_INSTRUCTIONS_EXT = 0x87C5; + public static final int MAX_VERTEX_SHADER_VARIANTS_EXT = 0x87C6; + public static final int MAX_VERTEX_SHADER_INVARIANTS_EXT = 0x87C7; + public static final int MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT = 0x87C8; + public static final int MAX_VERTEX_SHADER_LOCALS_EXT = 0x87C9; + public static final int MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT = 0x87CA; + public static final int MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT = 0x87CB; + public static final int MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT = 0x87CC; + public static final int MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT = 0x87CD; + public static final int MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT = 0x87CE; + public static final int VERTEX_SHADER_INSTRUCTIONS_EXT = 0x87CF; + public static final int VERTEX_SHADER_VARIANTS_EXT = 0x87D0; + public static final int VERTEX_SHADER_INVARIANTS_EXT = 0x87D1; + public static final int VERTEX_SHADER_LOCAL_CONSTANTS_EXT = 0x87D2; + public static final int VERTEX_SHADER_LOCALS_EXT = 0x87D3; + public static final int VERTEX_SHADER_OPTIMIZED_EXT = 0x87D4; + public static final int X_EXT = 0x87D5; + public static final int Y_EXT = 0x87D6; + public static final int Z_EXT = 0x87D7; + public static final int W_EXT = 0x87D8; + public static final int NEGATIVE_X_EXT = 0x87D9; + public static final int NEGATIVE_Y_EXT = 0x87DA; + public static final int NEGATIVE_Z_EXT = 0x87DB; + public static final int NEGATIVE_W_EXT = 0x87DC; + public static final int ZERO_EXT = 0x87DD; + public static final int ONE_EXT = 0x87DE; + public static final int NEGATIVE_ONE_EXT = 0x87DF; + public static final int NORMALIZED_RANGE_EXT = 0x87E0; + public static final int FULL_RANGE_EXT = 0x87E1; + public static final int CURRENT_VERTEX_EXT = 0x87E2; + public static final int MVP_MATRIX_EXT = 0x87E3; + public static final int VARIANT_VALUE_EXT = 0x87E4; + public static final int VARIANT_DATATYPE_EXT = 0x87E5; + public static final int VARIANT_ARRAY_STRIDE_EXT = 0x87E6; + public static final int VARIANT_ARRAY_TYPE_EXT = 0x87E7; + public static final int VARIANT_ARRAY_EXT = 0x87E8; + public static final int VARIANT_ARRAY_POINTER_EXT = 0x87E9; + public static final int INVARIANT_VALUE_EXT = 0x87EA; + public static final int INVARIANT_DATATYPE_EXT = 0x87EB; + public static final int LOCAL_CONSTANT_VALUE_EXT = 0x87EC; + public static final int LOCAL_CONSTANT_DATATYPE_EXT = 0x87ED; +} diff --git a/src/java/org/lwjgl/opengl/ext/EXTVertexWeighting.java b/src/java/org/lwjgl/opengl/ext/EXTVertexWeighting.java new file mode 100644 index 00000000..eef26121 --- /dev/null +++ b/src/java/org/lwjgl/opengl/ext/EXTVertexWeighting.java @@ -0,0 +1,57 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:25:57 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.ext; + +public interface EXTVertexWeighting +{ + public static final int MODELVIEW0_STACK_DEPTH_EXT = 0x0BA3; /* alias to MODELVIEW_STACK_DEPTH */ + public static final int MODELVIEW1_STACK_DEPTH_EXT = 0x8502; + public static final int MODELVIEW0_MATRIX_EXT = 0x0BA6; /* alias to MODELVIEW_MATRIX */ + public static final int MODELVIEW1_MATRIX_EXT = 0x8506; + public static final int VERTEX_WEIGHTING_EXT = 0x8509; + public static final int MODELVIEW0_EXT = 0x1700; /* alias to MODELVIEW */ + public static final int MODELVIEW1_EXT = 0x850A; + public static final int CURRENT_VERTEX_WEIGHT_EXT = 0x850B; + public static final int VERTEX_WEIGHT_ARRAY_EXT = 0x850C; + public static final int VERTEX_WEIGHT_ARRAY_SIZE_EXT = 0x850D; + public static final int VERTEX_WEIGHT_ARRAY_TYPE_EXT = 0x850E; + public static final int VERTEX_WEIGHT_ARRAY_STRIDE_EXT = 0x850F; + public static final int VERTEX_WEIGHT_ARRAY_POINTER_EXT = 0x8510; +} diff --git a/src/java/org/lwjgl/opengl/hp/HPOcclusionTest.java b/src/java/org/lwjgl/opengl/hp/HPOcclusionTest.java new file mode 100644 index 00000000..0818e485 --- /dev/null +++ b/src/java/org/lwjgl/opengl/hp/HPOcclusionTest.java @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:36:28 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.hp; + +public interface HPOcclusionTest +{ + public static final int OCCLUSION_TEST_HP = 0x8165; + public static final int OCCLUSION_TEST_RESULT_HP = 0x8166; +} diff --git a/src/java/org/lwjgl/opengl/nv/NVCopyDepthToColor.java b/src/java/org/lwjgl/opengl/nv/NVCopyDepthToColor.java new file mode 100644 index 00000000..ebe9a74f --- /dev/null +++ b/src/java/org/lwjgl/opengl/nv/NVCopyDepthToColor.java @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:30:49 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.nv; + +public interface NVCopyDepthToColor +{ + public static final int DEPTH_STENCIL_TO_RGBA_NV = 0x886E; + public static final int DEPTH_STENCIL_TO_BGRA_NV = 0x886F; +} diff --git a/src/java/org/lwjgl/opengl/nv/NVDepthClamp.java b/src/java/org/lwjgl/opengl/nv/NVDepthClamp.java new file mode 100644 index 00000000..98ba40b1 --- /dev/null +++ b/src/java/org/lwjgl/opengl/nv/NVDepthClamp.java @@ -0,0 +1,45 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:37:44 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.nv; + +public interface NVDepthClamp +{ + public static final int DEPTH_CLAMP_NV = 0x864F; +} diff --git a/src/java/org/lwjgl/opengl/nv/NVEvaluators.java b/src/java/org/lwjgl/opengl/nv/NVEvaluators.java new file mode 100644 index 00000000..5831bebd --- /dev/null +++ b/src/java/org/lwjgl/opengl/nv/NVEvaluators.java @@ -0,0 +1,68 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:30:22 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.nv; + +public interface NVEvaluators +{ + public static final int EVAL_2D_NV = 0x86C0; + public static final int EVAL_TRIANGULAR_2D_NV = 0x86C1; + public static final int MAP_TESSELLATION_NV = 0x86C2; + public static final int MAP_ATTRIB_U_ORDER_NV = 0x86C3; + public static final int MAP_ATTRIB_V_ORDER_NV = 0x86C4; + public static final int EVAL_FRACTIONAL_TESSELLATION_NV = 0x86C5; + public static final int EVAL_VERTEX_ATTRIB0_NV = 0x86C6; + public static final int EVAL_VERTEX_ATTRIB1_NV = 0x86C7; + public static final int EVAL_VERTEX_ATTRIB2_NV = 0x86C8; + public static final int EVAL_VERTEX_ATTRIB3_NV = 0x86C9; + public static final int EVAL_VERTEX_ATTRIB4_NV = 0x86CA; + public static final int EVAL_VERTEX_ATTRIB5_NV = 0x86CB; + public static final int EVAL_VERTEX_ATTRIB6_NV = 0x86CC; + public static final int EVAL_VERTEX_ATTRIB7_NV = 0x86CD; + public static final int EVAL_VERTEX_ATTRIB8_NV = 0x86CE; + public static final int EVAL_VERTEX_ATTRIB9_NV = 0x86CF; + public static final int EVAL_VERTEX_ATTRIB10_NV = 0x86D0; + public static final int EVAL_VERTEX_ATTRIB11_NV = 0x86D1; + public static final int EVAL_VERTEX_ATTRIB12_NV = 0x86D2; + public static final int EVAL_VERTEX_ATTRIB13_NV = 0x86D3; + public static final int EVAL_VERTEX_ATTRIB14_NV = 0x86D4; + public static final int EVAL_VERTEX_ATTRIB15_NV = 0x86D5; + public static final int MAX_MAP_TESSELLATION_NV = 0x86D6; + public static final int MAX_RATIONAL_EVAL_ORDER_NV = 0x86D7; +} diff --git a/src/java/org/lwjgl/opengl/nv/NVFence.java b/src/java/org/lwjgl/opengl/nv/NVFence.java new file mode 100644 index 00000000..8d6ac54a --- /dev/null +++ b/src/java/org/lwjgl/opengl/nv/NVFence.java @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:26:52 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.nv; + +public interface NVFence +{ + public static final int ALL_COMPLETED_NV = 0x84F2; + public static final int FENCE_STATUS_NV = 0x84F3; + public static final int FENCE_CONDITION_NV = 0x84F4; +} diff --git a/src/java/org/lwjgl/opengl/nv/NVFogDistance.java b/src/java/org/lwjgl/opengl/nv/NVFogDistance.java new file mode 100644 index 00000000..a7a7375c --- /dev/null +++ b/src/java/org/lwjgl/opengl/nv/NVFogDistance.java @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:23:35 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.nv; + +public interface NVFogDistance +{ + public static final int FOG_DISTANCE_MODE_NV = 0x855A; + public static final int EYE_RADIAL_NV = 0x855B; + public static final int EYE_PLANE_ABSOLUTE_NV = 0x855C; +} diff --git a/src/java/org/lwjgl/opengl/nv/NVLightMaxExponent.java b/src/java/org/lwjgl/opengl/nv/NVLightMaxExponent.java new file mode 100644 index 00000000..1fa42fa7 --- /dev/null +++ b/src/java/org/lwjgl/opengl/nv/NVLightMaxExponent.java @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:27:54 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.nv; + +public interface NVLightMaxExponent +{ + public static final int MAX_SHININESS_NV = 0x8504; + public static final int MAX_SPOT_EXPONENT_NV = 0x8505; +} diff --git a/src/java/org/lwjgl/opengl/nv/NVOcclusionQuery.java b/src/java/org/lwjgl/opengl/nv/NVOcclusionQuery.java new file mode 100644 index 00000000..e590ae75 --- /dev/null +++ b/src/java/org/lwjgl/opengl/nv/NVOcclusionQuery.java @@ -0,0 +1,51 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:38:29 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.nv; + +public interface NVOcclusionQuery +{ + public static final int OCCLUSION_TEST_HP = 0x8165; + public static final int OCCLUSION_TEST_RESULT_HP = 0x8166; + /* HP_occlusion_test */ + public static final int PIXEL_COUNTER_BITS_NV = 0x8864; + public static final int CURRENT_OCCLUSION_QUERY_ID_NV = 0x8865; + public static final int PIXEL_COUNT_NV = 0x8866; + public static final int PIXEL_COUNT_AVAILABLE_NV = 0x8867; +} diff --git a/src/java/org/lwjgl/opengl/nv/NVPackedDepthStencil.java b/src/java/org/lwjgl/opengl/nv/NVPackedDepthStencil.java new file mode 100644 index 00000000..d7bdb126 --- /dev/null +++ b/src/java/org/lwjgl/opengl/nv/NVPackedDepthStencil.java @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:28:27 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.nv; + +public interface NVPackedDepthStencil +{ + public static final int DEPTH_STENCIL_NV = 0x84F9; + public static final int UNSIGNED_INT_24_8_NV = 0x84FA; +} diff --git a/src/java/org/lwjgl/opengl/nv/NVPointSprite.java b/src/java/org/lwjgl/opengl/nv/NVPointSprite.java new file mode 100644 index 00000000..62dc0839 --- /dev/null +++ b/src/java/org/lwjgl/opengl/nv/NVPointSprite.java @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:56:50 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.nv; + +public interface NVPointSprite +{ + public static final int POINT_SPRITE_NV = 0x8861; + public static final int COORD_REPLACE_NV = 0x8862; + public static final int POINT_SPRITE_R_MODE_NV = 0x8863; +} diff --git a/src/java/org/lwjgl/opengl/nv/NVRegisterCombiners.java b/src/java/org/lwjgl/opengl/nv/NVRegisterCombiners.java new file mode 100644 index 00000000..99e9315f --- /dev/null +++ b/src/java/org/lwjgl/opengl/nv/NVRegisterCombiners.java @@ -0,0 +1,95 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:20:54 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.nv; + +public interface NVRegisterCombiners +{ + public static final int REGISTER_COMBINERS_NV = 0x8522; + public static final int COMBINER0_NV = 0x8550; + public static final int COMBINER1_NV = 0x8551; + public static final int COMBINER2_NV = 0x8552; + public static final int COMBINER3_NV = 0x8553; + public static final int COMBINER4_NV = 0x8554; + public static final int COMBINER5_NV = 0x8555; + public static final int COMBINER6_NV = 0x8556; + public static final int COMBINER7_NV = 0x8557; + public static final int VARIABLE_A_NV = 0x8523; + public static final int VARIABLE_B_NV = 0x8524; + public static final int VARIABLE_C_NV = 0x8525; + public static final int VARIABLE_D_NV = 0x8526; + public static final int VARIABLE_E_NV = 0x8527; + public static final int VARIABLE_F_NV = 0x8528; + public static final int VARIABLE_G_NV = 0x8529; + public static final int CONSTANT_COLOR0_NV = 0x852A; + public static final int CONSTANT_COLOR1_NV = 0x852B; + public static final int PRIMARY_COLOR_NV = 0x852C; + public static final int SECONDARY_COLOR_NV = 0x852D; + public static final int SPARE0_NV = 0x852E; + public static final int SPARE1_NV = 0x852F; + public static final int UNSIGNED_IDENTITY_NV = 0x8536; + public static final int UNSIGNED_INVERT_NV = 0x8537; + public static final int EXPAND_NORMAL_NV = 0x8538; + public static final int EXPAND_NEGATE_NV = 0x8539; + public static final int HALF_BIAS_NORMAL_NV = 0x853A; + public static final int HALF_BIAS_NEGATE_NV = 0x853B; + public static final int SIGNED_IDENTITY_NV = 0x853C; + public static final int SIGNED_NEGATE_NV = 0x853D; + public static final int E_TIMES_F_NV = 0x8531; + public static final int SPARE0_PLUS_SECONDARY_COLOR_NV = 0x8532; + public static final int SCALE_BY_TWO_NV = 0x853E; + public static final int SCALE_BY_FOUR_NV = 0x853F; + public static final int SCALE_BY_ONE_HALF_NV = 0x8540; + public static final int BIAS_BY_NEGATIVE_ONE_HALF_NV = 0x8541; + public static final int DISCARD_NV = 0x8530; + public static final int COMBINER_INPUT_NV = 0x8542; + public static final int COMBINER_MAPPING_NV = 0x8543; + public static final int COMBINER_COMPONENT_USAGE_NV = 0x8544; + public static final int COMBINER_AB_DOT_PRODUCT_NV = 0x8545; + public static final int COMBINER_CD_DOT_PRODUCT_NV = 0x8546; + public static final int COMBINER_MUX_SUM_NV = 0x8547; + public static final int COMBINER_SCALE_NV = 0x8548; + public static final int COMBINER_BIAS_NV = 0x8549; + public static final int COMBINER_AB_OUTPUT_NV = 0x854A; + public static final int COMBINER_CD_OUTPUT_NV = 0x854B; + public static final int COMBINER_SUM_OUTPUT_NV = 0x854C; + public static final int NUM_GENERAL_COMBINERS_NV = 0x854E; + public static final int COLOR_SUM_CLAMP_NV = 0x854F; + public static final int MAX_GENERAL_COMBINERS_NV = 0x854D; +} diff --git a/src/java/org/lwjgl/opengl/nv/NVRegisterCombiners2.java b/src/java/org/lwjgl/opengl/nv/NVRegisterCombiners2.java new file mode 100644 index 00000000..ce2b0b64 --- /dev/null +++ b/src/java/org/lwjgl/opengl/nv/NVRegisterCombiners2.java @@ -0,0 +1,45 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:28:46 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.nv; + +public interface NVRegisterCombiners2 +{ + public static final int PER_STAGE_CONSTANTS_NV = 0x8535; +} diff --git a/src/java/org/lwjgl/opengl/nv/NVTexgenReflection.java b/src/java/org/lwjgl/opengl/nv/NVTexgenReflection.java new file mode 100644 index 00000000..b0d9447e --- /dev/null +++ b/src/java/org/lwjgl/opengl/nv/NVTexgenReflection.java @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:25:20 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.nv; + +public interface NVTexgenReflection +{ + public static final int NORMAL_MAP_NV = 0x8511; + public static final int REFLECTION_MAP_NV = 0x8512; +} diff --git a/src/java/org/lwjgl/opengl/nv/NVTextureEnvCombine4.java b/src/java/org/lwjgl/opengl/nv/NVTextureEnvCombine4.java new file mode 100644 index 00000000..91e8d7e8 --- /dev/null +++ b/src/java/org/lwjgl/opengl/nv/NVTextureEnvCombine4.java @@ -0,0 +1,49 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:23:05 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.nv; + +public interface NVTextureEnvCombine4 +{ + public static final int COMBINE4_NV = 0x8503; + public static final int SOURCE3_RGB_NV = 0x8583; + public static final int SOURCE3_ALPHA_NV = 0x858B; + public static final int OPERAND3_RGB_NV = 0x8593; + public static final int OPERAND3_ALPHA_NV = 0x859B; +} diff --git a/src/java/org/lwjgl/opengl/nv/NVTextureRectangle.java b/src/java/org/lwjgl/opengl/nv/NVTextureRectangle.java new file mode 100644 index 00000000..f9e698b9 --- /dev/null +++ b/src/java/org/lwjgl/opengl/nv/NVTextureRectangle.java @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:22:23 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.nv; + +public interface NVTextureRectangle +{ + public static final int TEXTURE_RECTANGLE_NV = 0x84F5; + public static final int TEXTURE_BINDING_RECTANGLE_NV = 0x84F6; + public static final int PROXY_TEXTURE_RECTANGLE_NV = 0x84F7; + public static final int MAX_RECTANGLE_TEXTURE_SIZE_NV = 0x84F8; +} diff --git a/src/java/org/lwjgl/opengl/nv/NVTextureShader.java b/src/java/org/lwjgl/opengl/nv/NVTextureShader.java new file mode 100644 index 00000000..3f7a67db --- /dev/null +++ b/src/java/org/lwjgl/opengl/nv/NVTextureShader.java @@ -0,0 +1,114 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:21:57 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.nv; + +public interface NVTextureShader +{ + public static final int TEXTURE_SHADER_NV = 0x86DE; + public static final int RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV = 0x86D9; + public static final int SHADER_OPERATION_NV = 0x86DF; + public static final int CULL_MODES_NV = 0x86E0; + public static final int OFFSET_TEXTURE_MATRIX_NV = 0x86E1; + public static final int OFFSET_TEXTURE_SCALE_NV = 0x86E2; + public static final int OFFSET_TEXTURE_BIAS_NV = 0x86E3; + public static final int PREVIOUS_TEXTURE_INPUT_NV = 0x86E4; + public static final int CONST_EYE_NV = 0x86E5; + public static final int SHADER_CONSISTENT_NV = 0x86DD; + public static final int PASS_THROUGH_NV = 0x86E6; + public static final int CULL_FRAGMENT_NV = 0x86E7; + public static final int OFFSET_TEXTURE_2D_NV = 0x86E8; + public static final int OFFSET_TEXTURE_RECTANGLE_NV = 0x864C; + public static final int OFFSET_TEXTURE_RECTANGLE_SCALE_NV = 0x864D; + public static final int DEPENDENT_AR_TEXTURE_2D_NV = 0x86E9; + public static final int DEPENDENT_GB_TEXTURE_2D_NV = 0x86EA; + public static final int DOT_PRODUCT_NV = 0x86EC; + public static final int DOT_PRODUCT_DEPTH_REPLACE_NV = 0x86ED; + public static final int DOT_PRODUCT_TEXTURE_2D_NV = 0x86EE; + public static final int DOT_PRODUCT_TEXTURE_RECTANGLE_NV = 0x864E; + public static final int DOT_PRODUCT_TEXTURE_CUBE_MAP_NV = 0x86F0; + public static final int DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV = 0x86F1; + public static final int DOT_PRODUCT_REFLECT_CUBE_MAP_NV = 0x86F2; + public static final int DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV = 0x86F3; + public static final int HILO_NV = 0x86F4; + public static final int DSDT_NV = 0x86F5; + public static final int DSDT_MAG_NV = 0x86F6; + public static final int DSDT_MAG_VIB_NV = 0x86F7; + public static final int UNSIGNED_INT_S8_S8_8_8_NV = 0x86DA; + public static final int UNSIGNED_INT_8_8_S8_S8_REV_NV = 0x86DB; + public static final int SIGNED_RGBA_NV = 0x86FB; + public static final int SIGNED_RGBA8_NV = 0x86FC; + public static final int SIGNED_RGB_NV = 0x86FE; + public static final int SIGNED_RGB8_NV = 0x86FF; + public static final int SIGNED_LUMINANCE_NV = 0x8701; + public static final int SIGNED_LUMINANCE8_NV = 0x8702; + public static final int SIGNED_LUMINANCE_ALPHA_NV = 0x8703; + public static final int SIGNED_LUMINANCE8_ALPHA8_NV = 0x8704; + public static final int SIGNED_ALPHA_NV = 0x8705; + public static final int SIGNED_ALPHA8_NV = 0x8706; + public static final int SIGNED_INTENSITY_NV = 0x8707; + public static final int SIGNED_INTENSITY8_NV = 0x8708; + public static final int SIGNED_RGB_UNSIGNED_ALPHA_NV = 0x870C; + public static final int SIGNED_RGB8_UNSIGNED_ALPHA8_NV = 0x870D; + public static final int HILO16_NV = 0x86F8; + public static final int SIGNED_HILO_NV = 0x86F9; + public static final int SIGNED_HILO16_NV = 0x86FA; + public static final int DSDT8_NV = 0x8709; + public static final int DSDT8_MAG8_NV = 0x870A; + public static final int DSDT_MAG_INTENSITY_NV = 0x86DC; + public static final int DSDT8_MAG8_INTENSITY8_NV = 0x870B; + public static final int HI_SCALE_NV = 0x870E; + public static final int LO_SCALE_NV = 0x870F; + public static final int DS_SCALE_NV = 0x8710; + public static final int DT_SCALE_NV = 0x8711; + public static final int MAGNITUDE_SCALE_NV = 0x8712; + public static final int VIBRANCE_SCALE_NV = 0x8713; + public static final int HI_BIAS_NV = 0x8714; + public static final int LO_BIAS_NV = 0x8715; + public static final int DS_BIAS_NV = 0x8716; + public static final int DT_BIAS_NV = 0x8717; + public static final int MAGNITUDE_BIAS_NV = 0x8718; + public static final int VIBRANCE_BIAS_NV = 0x8719; + public static final int TEXTURE_BORDER_VALUES_NV = 0x871A; + public static final int TEXTURE_HI_SIZE_NV = 0x871B; + public static final int TEXTURE_LO_SIZE_NV = 0x871C; + public static final int TEXTURE_DS_SIZE_NV = 0x871D; + public static final int TEXTURE_DT_SIZE_NV = 0x871E; + public static final int TEXTURE_MAG_SIZE_NV = 0x871F; +} diff --git a/src/java/org/lwjgl/opengl/nv/NVTextureShader2.java b/src/java/org/lwjgl/opengl/nv/NVTextureShader2.java new file mode 100644 index 00000000..3c28e887 --- /dev/null +++ b/src/java/org/lwjgl/opengl/nv/NVTextureShader2.java @@ -0,0 +1,72 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:27:12 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.nv; + +public interface NVTextureShader2 +{ + public static final int DOT_PRODUCT_TEXTURE_3D_NV = 0x86EF; + public static final int HILO_NV = 0x86F4; + public static final int DSDT_NV = 0x86F5; + public static final int DSDT_MAG_NV = 0x86F6; + public static final int DSDT_MAG_VIB_NV = 0x86F7; + public static final int UNSIGNED_INT_S8_S8_8_8_NV = 0x86DA; + public static final int UNSIGNED_INT_8_8_S8_S8_REV_NV = 0x86DB; + public static final int SIGNED_RGBA_NV = 0x86FB; + public static final int SIGNED_RGBA8_NV = 0x86FC; + public static final int SIGNED_RGB_NV = 0x86FE; + public static final int SIGNED_RGB8_NV = 0x86FF; + public static final int SIGNED_LUMINANCE_NV = 0x8701; + public static final int SIGNED_LUMINANCE8_NV = 0x8702; + public static final int SIGNED_LUMINANCE_ALPHA_NV = 0x8703; + public static final int SIGNED_LUMINANCE8_ALPHA8_NV = 0x8704; + public static final int SIGNED_ALPHA_NV = 0x8705; + public static final int SIGNED_ALPHA8_NV = 0x8706; + public static final int SIGNED_INTENSITY_NV = 0x8707; + public static final int SIGNED_INTENSITY8_NV = 0x8708; + public static final int SIGNED_RGB_UNSIGNED_ALPHA_NV = 0x870C; + public static final int SIGNED_RGB8_UNSIGNED_ALPHA8_NV = 0x870D; + public static final int HILO16_NV = 0x86F8; + public static final int SIGNED_HILO_NV = 0x86F9; + public static final int SIGNED_HILO16_NV = 0x86FA; + public static final int DSDT8_NV = 0x8709; + public static final int DSDT8_MAG8_NV = 0x870A; + public static final int DSDT_MAG_INTENSITY_NV = 0x86DC; + public static final int DSDT8_MAG8_INTENSITY8_NV = 0x870B; +} diff --git a/src/java/org/lwjgl/opengl/nv/NVTextureShader3.java b/src/java/org/lwjgl/opengl/nv/NVTextureShader3.java new file mode 100644 index 00000000..fd93d473 --- /dev/null +++ b/src/java/org/lwjgl/opengl/nv/NVTextureShader3.java @@ -0,0 +1,61 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:57:41 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.nv; + +public interface NVTextureShader3 +{ + public static final int OFFSET_PROJECTIVE_TEXTURE_2D_NV = 0x8850; + public static final int OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV = 0x8851; + public static final int OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV = 0x8852; + public static final int OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV = 0x8853; + public static final int OFFSET_HILO_TEXTURE_2D_NV = 0x8854; + public static final int OFFSET_HILO_TEXTURE_RECTANGLE_NV = 0x8855; + public static final int OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV = 0x8856; + public static final int OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV = 0x8857; + public static final int DEPENDENT_HILO_TEXTURE_2D_NV = 0x8858; + public static final int DEPENDENT_RGB_TEXTURE_3D_NV = 0x8859; + public static final int DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV = 0x885A; + public static final int DOT_PRODUCT_PASS_THROUGH_NV = 0x885B; + public static final int DOT_PRODUCT_TEXTURE_1D_NV = 0x885C; + public static final int DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV = 0x885D; + public static final int HILO8_NV = 0x885E; + public static final int SIGNED_HILO8_NV = 0x885F; + public static final int FORCE_BLUE_TO_ONE_NV = 0x8860; +} diff --git a/src/java/org/lwjgl/opengl/nv/NVVertexArrayRange.java b/src/java/org/lwjgl/opengl/nv/NVVertexArrayRange.java new file mode 100644 index 00000000..b5089825 --- /dev/null +++ b/src/java/org/lwjgl/opengl/nv/NVVertexArrayRange.java @@ -0,0 +1,49 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:18:16 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.nv; + +public interface NVVertexArrayRange +{ + public static final int VERTEX_ARRAY_RANGE_NV = 0x851D; + public static final int VERTEX_ARRAY_RANGE_LENGTH_NV = 0x851E; + public static final int VERTEX_ARRAY_RANGE_VALID_NV = 0x851F; + public static final int MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV = 0x8520; + public static final int VERTEX_ARRAY_RANGE_POINTER_NV = 0x8521; +} diff --git a/src/java/org/lwjgl/opengl/nv/NVVertexArrayRange2.java b/src/java/org/lwjgl/opengl/nv/NVVertexArrayRange2.java new file mode 100644 index 00000000..52293abd --- /dev/null +++ b/src/java/org/lwjgl/opengl/nv/NVVertexArrayRange2.java @@ -0,0 +1,45 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:18:42 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.nv; + +public interface NVVertexArrayRange2 +{ + public static final int VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV = 0x8533; +} diff --git a/src/java/org/lwjgl/opengl/nv/NVVertexProgram.java b/src/java/org/lwjgl/opengl/nv/NVVertexProgram.java new file mode 100644 index 00000000..bd6a959a --- /dev/null +++ b/src/java/org/lwjgl/opengl/nv/NVVertexProgram.java @@ -0,0 +1,127 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:26:24 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.nv; + +public interface NVVertexProgram +{ + public static final int VERTEX_PROGRAM_NV = 0x8620; + public static final int VERTEX_PROGRAM_POINT_SIZE_NV = 0x8642; + public static final int VERTEX_PROGRAM_TWO_SIDE_NV = 0x8643; + public static final int VERTEX_STATE_PROGRAM_NV = 0x8621; + public static final int ATTRIB_ARRAY_SIZE_NV = 0x8623; + public static final int ATTRIB_ARRAY_STRIDE_NV = 0x8624; + public static final int ATTRIB_ARRAY_TYPE_NV = 0x8625; + public static final int CURRENT_ATTRIB_NV = 0x8626; + public static final int PROGRAM_PARAMETER_NV = 0x8644; + public static final int ATTRIB_ARRAY_POINTER_NV = 0x8645; + public static final int PROGRAM_TARGET_NV = 0x8646; + public static final int PROGRAM_LENGTH_NV = 0x8627; + public static final int PROGRAM_RESIDENT_NV = 0x8647; + public static final int PROGRAM_STRING_NV = 0x8628; + public static final int TRACK_MATRIX_NV = 0x8648; + public static final int TRACK_MATRIX_TRANSFORM_NV = 0x8649; + public static final int MAX_TRACK_MATRIX_STACK_DEPTH_NV = 0x862E; + public static final int MAX_TRACK_MATRICES_NV = 0x862F; + public static final int CURRENT_MATRIX_STACK_DEPTH_NV = 0x8640; + public static final int CURRENT_MATRIX_NV = 0x8641; + public static final int VERTEX_PROGRAM_BINDING_NV = 0x864A; + public static final int PROGRAM_ERROR_POSITION_NV = 0x864B; + public static final int MODELVIEW_PROJECTION_NV = 0x8629; + public static final int MATRIX0_NV = 0x8630; + public static final int MATRIX1_NV = 0x8631; + public static final int MATRIX2_NV = 0x8632; + public static final int MATRIX3_NV = 0x8633; + public static final int MATRIX4_NV = 0x8634; + public static final int MATRIX5_NV = 0x8635; + public static final int MATRIX6_NV = 0x8636; + public static final int MATRIX7_NV = 0x8637; + public static final int IDENTITY_NV = 0x862A; + public static final int INVERSE_NV = 0x862B; + public static final int TRANSPOSE_NV = 0x862C; + public static final int INVERSE_TRANSPOSE_NV = 0x862D; + public static final int VERTEX_ATTRIB_ARRAY0_NV = 0x8650; + public static final int VERTEX_ATTRIB_ARRAY1_NV = 0x8651; + public static final int VERTEX_ATTRIB_ARRAY2_NV = 0x8652; + public static final int VERTEX_ATTRIB_ARRAY3_NV = 0x8653; + public static final int VERTEX_ATTRIB_ARRAY4_NV = 0x8654; + public static final int VERTEX_ATTRIB_ARRAY5_NV = 0x8655; + public static final int VERTEX_ATTRIB_ARRAY6_NV = 0x8656; + public static final int VERTEX_ATTRIB_ARRAY7_NV = 0x8657; + public static final int VERTEX_ATTRIB_ARRAY8_NV = 0x8658; + public static final int VERTEX_ATTRIB_ARRAY9_NV = 0x8659; + public static final int VERTEX_ATTRIB_ARRAY10_NV = 0x865A; + public static final int VERTEX_ATTRIB_ARRAY11_NV = 0x865B; + public static final int VERTEX_ATTRIB_ARRAY12_NV = 0x865C; + public static final int VERTEX_ATTRIB_ARRAY13_NV = 0x865D; + public static final int VERTEX_ATTRIB_ARRAY14_NV = 0x865E; + public static final int VERTEX_ATTRIB_ARRAY15_NV = 0x865F; + public static final int MAP1_VERTEX_ATTRIB0_4_NV = 0x8660; + public static final int MAP1_VERTEX_ATTRIB1_4_NV = 0x8661; + public static final int MAP1_VERTEX_ATTRIB2_4_NV = 0x8662; + public static final int MAP1_VERTEX_ATTRIB3_4_NV = 0x8663; + public static final int MAP1_VERTEX_ATTRIB4_4_NV = 0x8664; + public static final int MAP1_VERTEX_ATTRIB5_4_NV = 0x8665; + public static final int MAP1_VERTEX_ATTRIB6_4_NV = 0x8666; + public static final int MAP1_VERTEX_ATTRIB7_4_NV = 0x8667; + public static final int MAP1_VERTEX_ATTRIB8_4_NV = 0x8668; + public static final int MAP1_VERTEX_ATTRIB9_4_NV = 0x8669; + public static final int MAP1_VERTEX_ATTRIB10_4_NV = 0x866A; + public static final int MAP1_VERTEX_ATTRIB11_4_NV = 0x866B; + public static final int MAP1_VERTEX_ATTRIB12_4_NV = 0x866C; + public static final int MAP1_VERTEX_ATTRIB13_4_NV = 0x866D; + public static final int MAP1_VERTEX_ATTRIB14_4_NV = 0x866E; + public static final int MAP1_VERTEX_ATTRIB15_4_NV = 0x866F; + public static final int MAP2_VERTEX_ATTRIB0_4_NV = 0x8670; + public static final int MAP2_VERTEX_ATTRIB1_4_NV = 0x8671; + public static final int MAP2_VERTEX_ATTRIB2_4_NV = 0x8672; + public static final int MAP2_VERTEX_ATTRIB3_4_NV = 0x8673; + public static final int MAP2_VERTEX_ATTRIB4_4_NV = 0x8674; + public static final int MAP2_VERTEX_ATTRIB5_4_NV = 0x8675; + public static final int MAP2_VERTEX_ATTRIB6_4_NV = 0x8676; + public static final int MAP2_VERTEX_ATTRIB7_4_NV = 0x8677; + public static final int MAP2_VERTEX_ATTRIB8_4_NV = 0x8678; + public static final int MAP2_VERTEX_ATTRIB9_4_NV = 0x8679; + public static final int MAP2_VERTEX_ATTRIB10_4_NV = 0x867A; + public static final int MAP2_VERTEX_ATTRIB11_4_NV = 0x867B; + public static final int MAP2_VERTEX_ATTRIB12_4_NV = 0x867C; + public static final int MAP2_VERTEX_ATTRIB13_4_NV = 0x867D; + public static final int MAP2_VERTEX_ATTRIB14_4_NV = 0x867E; + public static final int MAP2_VERTEX_ATTRIB15_4_NV = 0x867F; +} diff --git a/src/java/org/lwjgl/opengl/sgis/SGISGenerateMipmap.java b/src/java/org/lwjgl/opengl/sgis/SGISGenerateMipmap.java new file mode 100644 index 00000000..11458201 --- /dev/null +++ b/src/java/org/lwjgl/opengl/sgis/SGISGenerateMipmap.java @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:24:52 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.sgis; + +public interface SGISGenerateMipmap +{ + public static final int GENERATE_MIPMAP_SGIS = 0x8191; + public static final int GENERATE_MIPMAP_HINT_SGIS = 0x8192; +} diff --git a/src/java/org/lwjgl/opengl/sgix/SGIXDepthTexture.java b/src/java/org/lwjgl/opengl/sgix/SGIXDepthTexture.java new file mode 100644 index 00000000..072ae27d --- /dev/null +++ b/src/java/org/lwjgl/opengl/sgix/SGIXDepthTexture.java @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:13:09 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.sgix; + +public interface SGIXDepthTexture +{ + public static final int DEPTH_COMPONENT16_SGIX = 0x81A5; + public static final int DEPTH_COMPONENT24_SGIX = 0x81A6; + public static final int DEPTH_COMPONENT32_SGIX = 0x81A7; + +} diff --git a/src/java/org/lwjgl/opengl/sgix/SGIXShadow.java b/src/java/org/lwjgl/opengl/sgix/SGIXShadow.java new file mode 100644 index 00000000..f3d47eb1 --- /dev/null +++ b/src/java/org/lwjgl/opengl/sgix/SGIXShadow.java @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 15:11:56 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.sgix; + +public interface SGIXShadow +{ + public static final int TEXTURE_COMPARE_SGIX = 0x819A; + public static final int TEXTURE_COMPARE_OPERATOR_SGIX = 0x819B; + public static final int TEXTURE_LEQUAL_R_SGIX = 0x819C; + public static final int TEXTURE_GEQUAL_R_SGIX = 0x819D; +} diff --git a/src/java/org/lwjgl/opengl/wgl/WGLBufferRegion.java b/src/java/org/lwjgl/opengl/wgl/WGLBufferRegion.java new file mode 100644 index 00000000..9584d228 --- /dev/null +++ b/src/java/org/lwjgl/opengl/wgl/WGLBufferRegion.java @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 16:06:10 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.wgl; + +public interface WGLBufferRegion +{ + public static final int WFRONT_COLOR_BUFFER_BIT_ARB = 0x00000001; + public static final int WBACK_COLOR_BUFFER_BIT_ARB = 0x00000002; + public static final int WDEPTH_BUFFER_BIT_ARB = 0x00000004; + public static final int WSTENCIL_BUFFER_BIT_ARB = 0x00000008; +} diff --git a/src/java/org/lwjgl/opengl/wgl/WGLMakeCurrentRead.java b/src/java/org/lwjgl/opengl/wgl/WGLMakeCurrentRead.java new file mode 100644 index 00000000..817284f5 --- /dev/null +++ b/src/java/org/lwjgl/opengl/wgl/WGLMakeCurrentRead.java @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 16:09:29 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.wgl; + +public interface WGLMakeCurrentRead +{ + public static final int ERROR_INVALID_PIXEL_TYPE_ARB = 0x2043; + public static final int ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB = 0x2054; +} diff --git a/src/java/org/lwjgl/opengl/wgl/WGLMultisample.java b/src/java/org/lwjgl/opengl/wgl/WGLMultisample.java new file mode 100644 index 00000000..21c5b17b --- /dev/null +++ b/src/java/org/lwjgl/opengl/wgl/WGLMultisample.java @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 16:10:06 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.wgl; + +public interface WGLMultisample +{ + public static final int WSAMPLE_BUFFERS_ARB = 0x2041; + public static final int WSAMPLES_ARB = 0x2042; +} diff --git a/src/java/org/lwjgl/opengl/wgl/WGLPBuffer.java b/src/java/org/lwjgl/opengl/wgl/WGLPBuffer.java new file mode 100644 index 00000000..49ec166b --- /dev/null +++ b/src/java/org/lwjgl/opengl/wgl/WGLPBuffer.java @@ -0,0 +1,52 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 16:06:59 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.wgl; + +public interface WGLPBuffer +{ + public static final int WDRAW_TO_PBUFFER_ARB = 0x202D; + public static final int WMAX_PBUFFER_PIXELS_ARB = 0x202E; + public static final int WMAX_PBUFFER_WIDTH_ARB = 0x202F; + public static final int WMAX_PBUFFER_HEIGHT_ARB = 0x2030; + public static final int WPBUFFER_LARGEST_ARB = 0x2033; + public static final int WPBUFFER_WIDTH_ARB = 0x2034; + public static final int WPBUFFER_HEIGHT_ARB = 0x2035; + public static final int WPBUFFER_LOST_ARB = 0x2036; +} diff --git a/src/java/org/lwjgl/opengl/wgl/WGLPixelFormat.java b/src/java/org/lwjgl/opengl/wgl/WGLPixelFormat.java new file mode 100644 index 00000000..e6163076 --- /dev/null +++ b/src/java/org/lwjgl/opengl/wgl/WGLPixelFormat.java @@ -0,0 +1,93 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 16:07:42 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.wgl; + +public interface WGLPixelFormat +{ + public static final int WNUMBER_PIXEL_FORMATS_ARB = 0x2000; + public static final int WDRAW_TO_WINDOW_ARB = 0x2001; + public static final int WDRAW_TO_BITMAP_ARB = 0x2002; + public static final int WACCELERATION_ARB = 0x2003; + public static final int WNEED_PALETTE_ARB = 0x2004; + public static final int WNEED_SYSTEM_PALETTE_ARB = 0x2005; + public static final int WSWAP_LAYER_BUFFERS_ARB = 0x2006; + public static final int WSWAP_METHOD_ARB = 0x2007; + public static final int WNUMBER_OVERLAYS_ARB = 0x2008; + public static final int WNUMBER_UNDERLAYS_ARB = 0x2009; + public static final int WTRANSPARENT_ARB = 0x200A; + public static final int WTRANSPARENT_RED_VALUE_ARB = 0x2037; + public static final int WTRANSPARENT_GREEN_VALUE_ARB = 0x2038; + public static final int WTRANSPARENT_BLUE_VALUE_ARB = 0x2039; + public static final int WTRANSPARENT_ALPHA_VALUE_ARB = 0x203A; + public static final int WTRANSPARENT_INDEX_VALUE_ARB = 0x203B; + public static final int WSHARE_DEPTH_ARB = 0x200C; + public static final int WSHARE_STENCIL_ARB = 0x200D; + public static final int WSHARE_ACCUM_ARB = 0x200E; + public static final int WSUPPORT_GDI_ARB = 0x200F; + public static final int WSUPPORT_OPENARB = 0x2010; + public static final int WDOUBLE_BUFFER_ARB = 0x2011; + public static final int WSTEREO_ARB = 0x2012; + public static final int WPIXEL_TYPE_ARB = 0x2013; + public static final int WCOLOR_BITS_ARB = 0x2014; + public static final int WRED_BITS_ARB = 0x2015; + public static final int WRED_SHIFT_ARB = 0x2016; + public static final int WGREEN_BITS_ARB = 0x2017; + public static final int WGREEN_SHIFT_ARB = 0x2018; + public static final int WBLUE_BITS_ARB = 0x2019; + public static final int WBLUE_SHIFT_ARB = 0x201A; + public static final int WALPHA_BITS_ARB = 0x201B; + public static final int WALPHA_SHIFT_ARB = 0x201C; + public static final int WACCUM_BITS_ARB = 0x201D; + public static final int WACCUM_RED_BITS_ARB = 0x201E; + public static final int WACCUM_GREEN_BITS_ARB = 0x201F; + public static final int WACCUM_BLUE_BITS_ARB = 0x2020; + public static final int WACCUM_ALPHA_BITS_ARB = 0x2021; + public static final int WDEPTH_BITS_ARB = 0x2022; + public static final int WSTENCIL_BITS_ARB = 0x2023; + public static final int WAUX_BUFFERS_ARB = 0x2024; + public static final int WNO_ACCELERATION_ARB = 0x2025; + public static final int WGENERIC_ACCELERATION_ARB = 0x2026; + public static final int WFULL_ACCELERATION_ARB = 0x2027; + public static final int WSWAP_EXCHANGE_ARB = 0x2028; + public static final int WSWAP_COPY_ARB = 0x2029; + public static final int WSWAP_UNDEFINED_ARB = 0x202A; + public static final int WTYPE_RGBA_ARB = 0x202B; + public static final int WTYPE_COLORINDEX_ARB = 0x202C; +} diff --git a/src/java/org/lwjgl/opengl/wgl/WGLRenderTexture.java b/src/java/org/lwjgl/opengl/wgl/WGLRenderTexture.java new file mode 100644 index 00000000..67891385 --- /dev/null +++ b/src/java/org/lwjgl/opengl/wgl/WGLRenderTexture.java @@ -0,0 +1,78 @@ +/* + * Copyright (c) 2002 Light Weight Java Game Library Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'Light Weight Java Game Library' nor the names of + * its contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * Created by IntelliJ IDEA. + * User: nj + * Date: 12-08-2002 + * Time: 16:08:41 + * To change template for new interface use + * Code Style | Class Templates options (Tools | IDE Options). + */ +package org.lwjgl.opengl.wgl; + +public interface WGLRenderTexture +{ + public static final int WBIND_TO_TEXTURE_RGB_ARB = 0x2070; + public static final int WBIND_TO_TEXTURE_RGBA_ARB = 0x2071; + public static final int WTEXTURE_FORMAT_ARB = 0x2072; + public static final int WTEXTURE_TARGET_ARB = 0x2073; + public static final int WMIPMAP_TEXTURE_ARB = 0x2074; + public static final int WTEXTURE_RGB_ARB = 0x2075; + public static final int WTEXTURE_RGBA_ARB = 0x2076; + public static final int WNO_TEXTURE_ARB = 0x2077; + public static final int WTEXTURE_CUBE_MAP_ARB = 0x2078; + public static final int WTEXTURE_1D_ARB = 0x2079; + public static final int WTEXTURE_2D_ARB = 0x207A; + public static final int WMIPMAP_LEVEL_ARB = 0x207B; + public static final int WCUBE_MAP_FACE_ARB = 0x207C; + public static final int WTEXTURE_CUBE_MAP_POSITIVE_X_ARB = 0x207D; + public static final int WTEXTURE_CUBE_MAP_NEGATIVE_X_ARB = 0x207E; + public static final int WTEXTURE_CUBE_MAP_POSITIVE_Y_ARB = 0x207F; + public static final int WTEXTURE_CUBE_MAP_NEGATIVE_Y_ARB = 0x2080; + public static final int WTEXTURE_CUBE_MAP_POSITIVE_Z_ARB = 0x2081; + public static final int WTEXTURE_CUBE_MAP_NEGATIVE_Z_ARB = 0x2082; + public static final int WFRONT_LEFT_ARB = 0x2083; + public static final int WFRONT_RIGHT_ARB = 0x2084; + public static final int WBACK_LEFT_ARB = 0x2085; + public static final int WBACK_RIGHT_ARB = 0x2086; + public static final int WAUX0_ARB = 0x2087; + public static final int WAUX1_ARB = 0x2088; + public static final int WAUX2_ARB = 0x2089; + public static final int WAUX3_ARB = 0x208A; + public static final int WAUX4_ARB = 0x208B; + public static final int WAUX5_ARB = 0x208C; + public static final int WAUX6_ARB = 0x208D; + public static final int WAUX7_ARB = 0x208E; + public static final int WAUX8_ARB = 0x208F; + public static final int WAUX9_ARB = 0x2090; + +}