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

org.lwjgl.opengles.EXTMemoryObjectFD 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 EXT_memory_object_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 EXTMemoryObject EXT_memory_object} and {@link GLES30 GLES30}.

*/ public class EXTMemoryObjectFD { /** Accepted by the {@code handleType} parameter of ImportMemoryFdEXT() or ImportSemaphoreFdEXT(). */ public static final int GL_HANDLE_TYPE_OPAQUE_FD_EXT = 0x9586; static { GLES.initialize(); } protected EXTMemoryObjectFD() { throw new UnsupportedOperationException(); } static boolean isAvailable(GLESCapabilities caps) { return checkFunctions( caps.glImportMemoryFdEXT ); } // --- [ glImportMemoryFdEXT ] --- public static native void glImportMemoryFdEXT(@NativeType("GLuint") int memory, @NativeType("GLuint64") long size, @NativeType("GLenum") int handleType, @NativeType("GLint") int fd); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy