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

org.lwjgl.opengles.OESEGLImage 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 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(); } static boolean isAvailable(GLESCapabilities caps) { return checkFunctions( caps.glEGLImageTargetTexture2DOES, caps.glEGLImageTargetRenderbufferStorageOES ); } // --- [ 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 - 2024 Weber Informatics LLC | Privacy Policy