Package org.lwjgl.opengl
Class NVTimelineSemaphore
java.lang.Object
org.lwjgl.opengl.NVTimelineSemaphore
Native 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_semaphore or a version of OpenGL that incorporates it.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAccepted by thepnameparameter to GetIntegerv, GetFloatv, GetDoublev, GetInteger64v, and GetBooleanv.static final intAccepted by theparamparameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV whenpnameparameter is SEMAPHORE_TYPE_NV.static final intAccepted by thepnameparameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV.static final intAccepted by theparamparameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV whenpnameparameter is SEMAPHORE_TYPE_NV.static final intAccepted by thepnameparameter of SemaphoreParameterui64vNV and GetSemaphoreParameterui64vNV. -
Method Summary
Modifier and TypeMethodDescriptionstatic intstatic voidglCreateSemaphoresNV(int[] semaphores) Array version of:CreateSemaphoresNVstatic voidglCreateSemaphoresNV(IntBuffer semaphores) static voidglGetSemaphoreParameterivNV(int semaphore, int pname, int[] params) Array version of:GetSemaphoreParameterivNVstatic voidglGetSemaphoreParameterivNV(int semaphore, int pname, IntBuffer params) static voidglSemaphoreParameterivNV(int semaphore, int pname, int[] params) Array version of:SemaphoreParameterivNVstatic voidglSemaphoreParameterivNV(int semaphore, int pname, 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 Details
-
GL_SEMAPHORE_TYPE_NV
public static final int GL_SEMAPHORE_TYPE_NVAccepted by thepnameparameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV.- See Also:
-
GL_SEMAPHORE_TYPE_BINARY_NV
public static final int GL_SEMAPHORE_TYPE_BINARY_NVAccepted by theparamparameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV whenpnameparameter is SEMAPHORE_TYPE_NV.- See Also:
-
GL_SEMAPHORE_TYPE_TIMELINE_NV
public static final int GL_SEMAPHORE_TYPE_TIMELINE_NVAccepted by theparamparameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV whenpnameparameter is SEMAPHORE_TYPE_NV.- See Also:
-
GL_TIMELINE_SEMAPHORE_VALUE_NV
public static final int GL_TIMELINE_SEMAPHORE_VALUE_NVAccepted by thepnameparameter of SemaphoreParameterui64vNV and GetSemaphoreParameterui64vNV.- See Also:
-
GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NV
public static final int GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NVAccepted by thepnameparameter to GetIntegerv, GetFloatv, GetDoublev, GetInteger64v, and GetBooleanv.- See Also:
-
-
Method Details
-
nglCreateSemaphoresNV
public static void nglCreateSemaphoresNV(int n, long semaphores) -
glCreateSemaphoresNV
-
glCreateSemaphoresNV
public static int glCreateSemaphoresNV() -
nglSemaphoreParameterivNV
public static void nglSemaphoreParameterivNV(int semaphore, int pname, long params) -
glSemaphoreParameterivNV
-
nglGetSemaphoreParameterivNV
public static void nglGetSemaphoreParameterivNV(int semaphore, int pname, long params) -
glGetSemaphoreParameterivNV
-
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
-