Package org.lwjgl.opengl
Class NVTimelineSemaphore
- java.lang.Object
-
- org.lwjgl.opengl.NVTimelineSemaphore
-
public class NVTimelineSemaphore extends java.lang.ObjectNative bindings to the NV_timeline_semaphore extension.The Vulkan API introduces the concept of timeline semaphores. This extension brings those concepts to the OpenGL API by adding a semaphore type to the semaphore object. In OpenGL, timeline semaphore signal and wait operations are similar to the corresponding operations on imported Direct3D 12 fences defined in EXT_external_objects_win32.
Requires
EXT_semaphoreor a version of OpenGL that incorporates it.
-
-
Field Summary
Fields Modifier and Type Field Description static intGL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NVAccepted by thepnameparameter to GetIntegerv, GetFloatv, GetDoublev, GetInteger64v, and GetBooleanv.static intGL_SEMAPHORE_TYPE_BINARY_NVAccepted by theparamparameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV whenpnameparameter is SEMAPHORE_TYPE_NV.static intGL_SEMAPHORE_TYPE_NVAccepted by thepnameparameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV.static intGL_SEMAPHORE_TYPE_TIMELINE_NVAccepted by theparamparameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV whenpnameparameter is SEMAPHORE_TYPE_NV.static intGL_TIMELINE_SEMAPHORE_VALUE_NVAccepted by thepnameparameter of SemaphoreParameterui64vNV and GetSemaphoreParameterui64vNV.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intglCreateSemaphoresNV()static voidglCreateSemaphoresNV(int[] semaphores)Array version of:CreateSemaphoresNVstatic voidglCreateSemaphoresNV(java.nio.IntBuffer semaphores)static voidglGetSemaphoreParameterivNV(int semaphore, int pname, int[] params)Array version of:GetSemaphoreParameterivNVstatic voidglGetSemaphoreParameterivNV(int semaphore, int pname, java.nio.IntBuffer params)static voidglSemaphoreParameterivNV(int semaphore, int pname, int[] params)Array version of:SemaphoreParameterivNVstatic voidglSemaphoreParameterivNV(int semaphore, int pname, java.nio.IntBuffer params)static voidnglCreateSemaphoresNV(int n, long semaphores)static voidnglGetSemaphoreParameterivNV(int semaphore, int pname, long params)static voidnglSemaphoreParameterivNV(int semaphore, int pname, long params)
-
-
-
Field Detail
-
GL_SEMAPHORE_TYPE_NV
Accepted by thepnameparameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV.
-
GL_SEMAPHORE_TYPE_BINARY_NV, GL_SEMAPHORE_TYPE_TIMELINE_NV
Accepted by theparamparameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV whenpnameparameter is SEMAPHORE_TYPE_NV.
-
GL_TIMELINE_SEMAPHORE_VALUE_NV
Accepted by thepnameparameter of SemaphoreParameterui64vNV and GetSemaphoreParameterui64vNV.
-
GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NV
Accepted by thepnameparameter to GetIntegerv, GetFloatv, GetDoublev, GetInteger64v, and GetBooleanv.
-
-
Method Detail
-
nglCreateSemaphoresNV
public static void nglCreateSemaphoresNV(int n, long semaphores)
-
glCreateSemaphoresNV
public static void glCreateSemaphoresNV(java.nio.IntBuffer semaphores)
-
glCreateSemaphoresNV
public static int glCreateSemaphoresNV()
-
nglSemaphoreParameterivNV
public static void nglSemaphoreParameterivNV(int semaphore, int pname, long params)
-
glSemaphoreParameterivNV
public static void glSemaphoreParameterivNV(int semaphore, int pname, java.nio.IntBuffer params)
-
nglGetSemaphoreParameterivNV
public static void nglGetSemaphoreParameterivNV(int semaphore, int pname, long params)
-
glGetSemaphoreParameterivNV
public static void glGetSemaphoreParameterivNV(int semaphore, int pname, java.nio.IntBuffer params)
-
glCreateSemaphoresNV
public static void glCreateSemaphoresNV(int[] semaphores)
Array version of:CreateSemaphoresNV
-
glSemaphoreParameterivNV
public static void glSemaphoreParameterivNV(int semaphore, int pname, int[] params)Array version of:SemaphoreParameterivNV
-
glGetSemaphoreParameterivNV
public static void glGetSemaphoreParameterivNV(int semaphore, int pname, int[] params)Array version of:GetSemaphoreParameterivNV
-
-