org.lwjgl.opengles.EXTSemaphoreFD Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-opengles Show documentation
Show all versions of lwjgl-opengles Show documentation
A royalty-free, cross-platform API for full-function 2D and 3D graphics on embedded systems - including consoles, phones, appliances and vehicles.
/*
* 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.*;
/**
* Native bindings to the EXT_semaphore_fd extension.
*
* Building upon the OpenGL memory object and semaphore framework defined in EXT_external_objects this extension enables an OpenGL
* application to import a memory object or semaphore from POSIX file descriptor external handles.
*
* Requires {@link EXTSemaphore EXT_semaphore} and {@link GLES30 GLES30}.
*/
public class EXTSemaphoreFD {
static { GLES.initialize(); }
/** Accepted by the {@code handleType} parameter of ImportMemoryFdEXT() or ImportSemaphoreFdEXT(). */
public static final int GL_HANDLE_TYPE_OPAQUE_FD_EXT = 0x9586;
protected EXTSemaphoreFD() {
throw new UnsupportedOperationException();
}
// --- [ glImportSemaphoreFdEXT ] ---
public static native void glImportSemaphoreFdEXT(@NativeType("GLuint") int semaphore, @NativeType("GLenum") int handleType, @NativeType("GLint") int fd);
}