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

org.lwjgl.opengl.EXTSemaphoreFD Maven / Gradle / Ivy

Go to download

The most widely adopted 2D and 3D graphics API in the industry, bringing thousands of applications to a wide variety of computer platforms.

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.opengl;

import org.lwjgl.system.*;

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

/**
 * 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 ARBTextureStorage ARB_texture_storage} or a version of OpenGL that incorporates it.

*/ public class EXTSemaphoreFD { /** Accepted by the {@code handleType} parameter of {@link #glImportSemaphoreFdEXT ImportSemaphoreFdEXT}. */ public static final int GL_HANDLE_TYPE_OPAQUE_FD_EXT = 0x9586; static { GL.initialize(); } protected EXTSemaphoreFD() { throw new UnsupportedOperationException(); } static boolean isAvailable(GLCapabilities caps) { return checkFunctions( caps.glImportSemaphoreFdEXT ); } // --- [ glImportSemaphoreFdEXT ] --- public static native void glImportSemaphoreFdEXT(@NativeType("GLuint") int semaphore, @NativeType("GLenum") int handleType, @NativeType("GLint") int fd); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy