List of usage examples for org.lwjgl.opengl ARBTextureEnvCombine GL_ADD_SIGNED_ARB
int GL_ADD_SIGNED_ARB
To view the source code for org.lwjgl.opengl ARBTextureEnvCombine GL_ADD_SIGNED_ARB.
Click Source Link
From source file:com.ardor3d.scene.state.lwjgl.util.LwjglTextureUtil.java
License:Open Source License
public static int getGLCombineFuncAlpha(final CombinerFunctionAlpha combineFunc) { switch (combineFunc) { case Modulate: return GL11.GL_MODULATE; case Replace: return GL11.GL_REPLACE; case Add://from w w w. ja v a 2 s . c o m return GL11.GL_ADD; case AddSigned: return ARBTextureEnvCombine.GL_ADD_SIGNED_ARB; case Subtract: return ARBTextureEnvCombine.GL_SUBTRACT_ARB; case Interpolate: return ARBTextureEnvCombine.GL_INTERPOLATE_ARB; } throw new IllegalArgumentException("invalid CombinerFunctionAlpha type: " + combineFunc); }
From source file:com.ardor3d.scene.state.lwjgl.util.LwjglTextureUtil.java
License:Open Source License
public static int getGLCombineFuncRGB(final CombinerFunctionRGB combineFunc) { switch (combineFunc) { case Modulate: return GL11.GL_MODULATE; case Replace: return GL11.GL_REPLACE; case Add:/*from www . j av a 2s . c o m*/ return GL11.GL_ADD; case AddSigned: return ARBTextureEnvCombine.GL_ADD_SIGNED_ARB; case Subtract: return ARBTextureEnvCombine.GL_SUBTRACT_ARB; case Interpolate: return ARBTextureEnvCombine.GL_INTERPOLATE_ARB; case Dot3RGB: return ARBTextureEnvDot3.GL_DOT3_RGB_ARB; case Dot3RGBA: return ARBTextureEnvDot3.GL_DOT3_RGBA_ARB; } throw new IllegalArgumentException("invalid CombinerFunctionRGB type: " + combineFunc); }