org.lwjgl.opengles.OESEGLImage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.lwjgl.opengles Show documentation
Show all versions of org.lwjgl.opengles Show documentation
LWJGL OSGi bundle (OpenGL ES bindings)
The 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 OES_EGL_image extension.
*
* This extension provides a mechanism for creating texture and renderbuffer objects sharing storage with specified EGLImage objects (such objects are
* referred to as "EGLImage targets").
*
* The companion EGL_KHR_image_base and EGL_KHR_image extensions provide the definition and rationale for EGLImage objects.
*
* Other EGL extensions, such as EGL_KHR_gl_texture_2D_image, EGL_KHR_gl_texture_cubemap_image, EGL_KHR_gl_texture_3D_image,
* EGL_KHR_gl_renderbuffer_image, and EGL_KHR_vg_parent_image, define the related functionality of creating EGLImage objects from "EGLImage sources" such
* as OpenGL ES texture or renderbuffers or OpenVG VGImage objects.
*/
public class OESEGLImage {
static { GLES.initialize(); }
protected OESEGLImage() {
throw new UnsupportedOperationException();
}
// --- [ glEGLImageTargetTexture2DOES ] ---
public static native void nglEGLImageTargetTexture2DOES(int target, long image);
public static void glEGLImageTargetTexture2DOES(@NativeType("GLenum") int target, @NativeType("GLeglImageOES") long image) {
if (CHECKS) {
check(image);
}
nglEGLImageTargetTexture2DOES(target, image);
}
// --- [ glEGLImageTargetRenderbufferStorageOES ] ---
public static native void nglEGLImageTargetRenderbufferStorageOES(int target, long image);
public static void glEGLImageTargetRenderbufferStorageOES(@NativeType("GLenum") int target, @NativeType("GLeglImageOES") long image) {
if (CHECKS) {
check(image);
}
nglEGLImageTargetRenderbufferStorageOES(target, image);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy