JCGLTextureFilterMagnification.TEXTURE_FILTER_LINEAR); for (final JCGLCubeMapFaceLH v : JCGLCubeMapFaceLH.values()) {
/** * <p>Replace the contents (or part of the contents) of the face {@code face} * of the cube map texture {@code data.getTexture()} with {@code data}, * assuming a cube map that uses a right-handed coordinate system.</p> * * <p>If the texture has minification filters that require mipmaps, mipmaps * will be generated during the update.</p> * * @param unit The texture unit that will be used to perform the update * @param face The cube face to modify * @param data The data to upload * * @throws JCGLException Iff an OpenGL error occurs */ default void textureCubeUpdateRH( final JCGLTextureUnitType unit, final JCGLCubeMapFaceRH face, final JCGLTextureCubeUpdateType data) throws JCGLException { this.textureCubeUpdateLH(unit, JCGLCubeMapFaceLH.fromRH(face), data); }
JCGLTextureFilterMagnification.TEXTURE_FILTER_LINEAR); for (final JCGLCubeMapFaceLH v : JCGLCubeMapFaceLH.values()) {
/** * <p>Replace the contents (or part of the contents) of the face {@code face} * of the cube map texture {@code data.getTexture()} with {@code data}, * assuming a cube map that uses a right-handed coordinate system.</p> * * <p>If the texture has minification filters that require mipmaps, mipmaps * will be generated during the update.</p> * * @param unit The texture unit that will be used to perform the update * @param face The cube face to modify * @param data The data to upload * * @throws JCGLException Iff an OpenGL error occurs */ default void textureCubeUpdateRH( final JCGLTextureUnitType unit, final JCGLCubeMapFaceRH face, final JCGLTextureCubeUpdateType data) throws JCGLException { this.textureCubeUpdateLH(unit, JCGLCubeMapFaceLH.fromRH(face), data); }
JCGLTextureFilterMagnification.TEXTURE_FILTER_LINEAR); for (final JCGLCubeMapFaceLH v : JCGLCubeMapFaceLH.values()) {
/** * <p>Fetch image data for the given face of the given texture.</p> * * <p>Fetching texture data requires binding and unbinding textures, and the * given {@code unit} will be used to perform the retrieval, breaking any * associated bindings for that unit. The texture will remain bound to {@code * unit} when the function returns.</p> * * @param unit The texture unit that will be used to fetch the data * @param face The cube map face that will be fetched * @param texture The texture * * @return The texture image data associated with {@code texture} * * @throws JCGLException Iff an OpenGL error occurs */ default ByteBuffer textureCubeGetImageRH( final JCGLTextureUnitType unit, final JCGLCubeMapFaceRH face, final JCGLTextureCubeUsableType texture) throws JCGLException { return this.textureCubeGetImageLH( unit, JCGLCubeMapFaceLH.fromRH(face), texture); }
JCGLTextureFilterMagnification.TEXTURE_FILTER_LINEAR); for (final JCGLCubeMapFaceLH v : JCGLCubeMapFaceLH.values()) {
/** * <p>Fetch image data for the given face of the given texture.</p> * * <p>Fetching texture data requires binding and unbinding textures, and the * given {@code unit} will be used to perform the retrieval, breaking any * associated bindings for that unit. The texture will remain bound to {@code * unit} when the function returns.</p> * * @param unit The texture unit that will be used to fetch the data * @param face The cube map face that will be fetched * @param texture The texture * * @return The texture image data associated with {@code texture} * * @throws JCGLException Iff an OpenGL error occurs */ default ByteBuffer textureCubeGetImageRH( final JCGLTextureUnitType unit, final JCGLCubeMapFaceRH face, final JCGLTextureCubeUsableType texture) throws JCGLException { return this.textureCubeGetImageLH( unit, JCGLCubeMapFaceLH.fromRH(face), texture); }
JCGLTextureFilterMagnification.TEXTURE_FILTER_LINEAR); for (final JCGLCubeMapFaceLH v : JCGLCubeMapFaceLH.values()) {
Assert.assertEquals( JCGLCubeMapFaceLH.CUBE_MAP_LH_NEGATIVE_X, JCGLCubeMapFaceLH.fromRH(v)); break; case CUBE_MAP_RH_NEGATIVE_Y: Assert.assertEquals( JCGLCubeMapFaceLH.CUBE_MAP_LH_POSITIVE_Y, JCGLCubeMapFaceLH.fromRH(v)); break; case CUBE_MAP_RH_NEGATIVE_Z: Assert.assertEquals( JCGLCubeMapFaceLH.CUBE_MAP_LH_POSITIVE_Z, JCGLCubeMapFaceLH.fromRH(v)); break; case CUBE_MAP_RH_POSITIVE_X: Assert.assertEquals( JCGLCubeMapFaceLH.CUBE_MAP_LH_POSITIVE_X, JCGLCubeMapFaceLH.fromRH(v)); break; case CUBE_MAP_RH_POSITIVE_Y: Assert.assertEquals( JCGLCubeMapFaceLH.CUBE_MAP_LH_NEGATIVE_Y, JCGLCubeMapFaceLH.fromRH(v)); break; case CUBE_MAP_RH_POSITIVE_Z: Assert.assertEquals( JCGLCubeMapFaceLH.CUBE_MAP_LH_NEGATIVE_Z, JCGLCubeMapFaceLH.fromRH(v)); break;
JCGLTextureFilterMagnification.TEXTURE_FILTER_LINEAR); for (final JCGLCubeMapFaceLH v : JCGLCubeMapFaceLH.values()) {
JCGLTextureFilterMagnification.TEXTURE_FILTER_LINEAR); for (final JCGLCubeMapFaceLH v : JCGLCubeMapFaceLH.values()) {
JCGLTextureFilterMagnification.TEXTURE_FILTER_LINEAR); for (final JCGLCubeMapFaceLH v : JCGLCubeMapFaceLH.values()) {
for (final JCGLCubeMapFaceLH v : JCGLCubeMapFaceLH.values()) { this.faces.put(v, ByteBuffer.allocate((int) face_size));
JCGLTextureFilterMagnification.TEXTURE_FILTER_LINEAR); for (final JCGLCubeMapFaceLH v : JCGLCubeMapFaceLH.values()) {
JCGLTextureFilterMagnification.TEXTURE_FILTER_LINEAR); for (final JCGLCubeMapFaceLH v : JCGLCubeMapFaceLH.values()) {
JCGLTextureFilterMagnification.TEXTURE_FILTER_LINEAR); for (final JCGLCubeMapFaceLH v : JCGLCubeMapFaceLH.values()) {
JCGLTextureFilterMagnification.TEXTURE_FILTER_LINEAR); for (final JCGLCubeMapFaceLH v : JCGLCubeMapFaceLH.values()) {
JCGLTextureFilterMagnification.TEXTURE_FILTER_LINEAR); for (final JCGLCubeMapFaceLH v : JCGLCubeMapFaceLH.values()) {
JCGLTextureFilterMagnification.TEXTURE_FILTER_LINEAR); for (final JCGLCubeMapFaceLH v : JCGLCubeMapFaceLH.values()) {