org.lwjgl.opengl.EXTFramebufferBlit Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-opengl Show documentation
Show all versions of lwjgl-opengl Show documentation
The most widely adopted 2D and 3D graphics API in the industry, bringing thousands of applications to a wide variety of computer platforms.
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.opengl;
import org.lwjgl.system.*;
import static org.lwjgl.system.Checks.*;
/**
* Native bindings to the EXT_framebuffer_blit extension.
*
* This extension modifies EXT_framebuffer_object 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.
*
* Promoted to core in {@link GL30 OpenGL 3.0}.
*/
public class EXTFramebufferBlit {
/**
* Accepted by the {@code target} parameter of BindFramebufferEXT, CheckFramebufferStatusEXT, FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT,
* and GetFramebufferAttachmentParameterivEXT.
*/
public static final int
GL_READ_FRAMEBUFFER_EXT = 0x8CA8,
GL_DRAW_FRAMEBUFFER_EXT = 0x8CA9;
/** Accepted by the {@code pname} parameters of GetIntegerv, GetFloatv, and GetDoublev. */
public static final int
GL_DRAW_FRAMEBUFFER_BINDING_EXT = 0x8CA6,
GL_READ_FRAMEBUFFER_BINDING_EXT = 0x8CAA;
static { GL.initialize(); }
protected EXTFramebufferBlit() {
throw new UnsupportedOperationException();
}
static boolean isAvailable(GLCapabilities caps) {
return checkFunctions(
caps.glBlitFramebufferEXT
);
}
// --- [ glBlitFramebufferEXT ] ---
public static native void glBlitFramebufferEXT(@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 - 2025 Weber Informatics LLC | Privacy Policy