![JAR search and dependency download from the Maven repository](/logo.png)
org.lwjgl.opencl.KHRGLEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl Show documentation
Show all versions of lwjgl Show documentation
Lighweight Java Game Library
/* MACHINE GENERATED FILE, DO NOT EDIT */
package org.lwjgl.opencl;
import org.lwjgl.*;
import java.nio.*;
import org.lwjgl.opengl.GLSync;
public final class KHRGLEvent {
/**
* Returned by clGetEventInfo when param_name is CL_EVENT_COMMAND_TYPE:
*/
public static final int CL_COMMAND_GL_FENCE_SYNC_OBJECT_KHR = 0x200D;
private KHRGLEvent() {}
public static CLEvent clCreateEventFromGLsyncKHR(CLContext context, GLSync sync, IntBuffer errcode_ret) {
long function_pointer = CLCapabilities.clCreateEventFromGLsyncKHR;
BufferChecks.checkFunctionAddress(function_pointer);
if (errcode_ret != null)
BufferChecks.checkBuffer(errcode_ret, 1);
CLEvent __result = new CLEvent(nclCreateEventFromGLsyncKHR(context.getPointer(), sync.getPointer(), MemoryUtil.getAddressSafe(errcode_ret), function_pointer), context);
return __result;
}
static native long nclCreateEventFromGLsyncKHR(long context, long sync, long errcode_ret, long function_pointer);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy