List of usage examples for org.lwjgl.opengl ARBTextureCubeMap GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB
int GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB
To view the source code for org.lwjgl.opengl ARBTextureCubeMap GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB.
Click Source Link
From source file:com.ardor3d.scene.state.lwjgl.LwjglTextureStateUtil.java
License:Open Source License
public static int getGLCubeMapFace(final TextureCubeMap.Face face) { switch (face) { case PositiveX: return ARBTextureCubeMap.GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB; case NegativeX: return ARBTextureCubeMap.GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB; case PositiveY: return ARBTextureCubeMap.GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB; case NegativeY: return ARBTextureCubeMap.GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB; case PositiveZ: return ARBTextureCubeMap.GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB; case NegativeZ: return ARBTextureCubeMap.GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB; }//from w w w. ja v a 2 s .c om throw new IllegalArgumentException("invalid cubemap face: " + face); }