All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lwjgl.opengles.ANGLEFramebufferBlit Maven / Gradle / Ivy

Go to download

A royalty-free, cross-platform API for full-function 2D and 3D graphics on embedded systems - including consoles, phones, appliances and vehicles.

There is a newer version: 3.3.4
Show newest version
/*
 * Copyright LWJGL. All rights reserved.
 * License terms: https://www.lwjgl.org/license
 * MACHINE GENERATED FILE, DO NOT EDIT
 */
package org.lwjgl.opengles;

import org.lwjgl.system.*;

import static org.lwjgl.system.Checks.*;

/**
 * Native bindings to the ANGLE_framebuffer_blit extension.
 * 
 * 

This extension modifies framebuffer objects by splitting the framebuffer object binding point into separate DRAW and READ bindings. This allows copying * directly from one framebuffer to another. In addition, a new high performance blit function is added to facilitate these blits and perform some data * conversion where allowed.

* *

Requires {@link GLES20 GLES 2.0}.

*/ public class ANGLEFramebufferBlit { /** * Accepted by the {@code target} parameter of BindFramebuffer, CheckFramebufferStatus, FramebufferTexture2D, FramebufferTexture3DOES, * FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv. */ public static final int GL_READ_FRAMEBUFFER_ANGLE = 0x8CA8, GL_DRAW_FRAMEBUFFER_ANGLE = 0x8CA9; /** Accepted by the {@code pname} parameters of GetIntegerv and GetFloatv. */ public static final int GL_DRAW_FRAMEBUFFER_BINDING_ANGLE = 0x8CA6, GL_READ_FRAMEBUFFER_BINDING_ANGLE = 0x8CAA; static { GLES.initialize(); } protected ANGLEFramebufferBlit() { throw new UnsupportedOperationException(); } static boolean isAvailable(GLESCapabilities caps) { return checkFunctions( caps.glBlitFramebufferANGLE ); } // --- [ glBlitFramebufferANGLE ] --- public static native void glBlitFramebufferANGLE(@NativeType("GLint") int srcX0, @NativeType("GLint") int srcY0, @NativeType("GLint") int srcX1, @NativeType("GLint") int srcY1, @NativeType("GLint") int dstX0, @NativeType("GLint") int dstY0, @NativeType("GLint") int dstX1, @NativeType("GLint") int dstY1, @NativeType("GLbitfield") int mask, @NativeType("GLenum") int filter); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy