Package org.lwjgl.opengles
Class NVTimelineSemaphore
java.lang.Object
org.lwjgl.opengles.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 ES that incorporates it.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Accepted by thepname
parameter to GetIntegerv, GetFloatv, GetDoublev, GetInteger64v, and GetBooleanv.static final int
Accepted by theparam
parameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV whenpname
parameter is SEMAPHORE_TYPE_NV.static final int
Accepted by thepname
parameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV.static final int
Accepted by theparam
parameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV whenpname
parameter is SEMAPHORE_TYPE_NV.static final int
Accepted by thepname
parameter of SemaphoreParameterui64vNV and GetSemaphoreParameterui64vNV. -
Method Summary
Modifier and TypeMethodDescriptionstatic int
static void
glCreateSemaphoresNV
(int[] semaphores) Array version of:CreateSemaphoresNV
static void
glCreateSemaphoresNV
(IntBuffer semaphores) static void
glGetSemaphoreParameterivNV
(int semaphore, int pname, int[] params) Array version of:GetSemaphoreParameterivNV
static void
glGetSemaphoreParameterivNV
(int semaphore, int pname, IntBuffer params) static void
glSemaphoreParameterivNV
(int semaphore, int pname, int[] params) Array version of:SemaphoreParameterivNV
static void
glSemaphoreParameterivNV
(int semaphore, int pname, IntBuffer params) static void
nglCreateSemaphoresNV
(int n, long semaphores) static void
nglGetSemaphoreParameterivNV
(int semaphore, int pname, long params) static void
nglSemaphoreParameterivNV
(int semaphore, int pname, long params)
-
Field Details
-
GL_SEMAPHORE_TYPE_NV
public static final int GL_SEMAPHORE_TYPE_NVAccepted by thepname
parameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV.- See Also:
-
GL_SEMAPHORE_TYPE_BINARY_NV
public static final int GL_SEMAPHORE_TYPE_BINARY_NVAccepted by theparam
parameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV whenpname
parameter is SEMAPHORE_TYPE_NV.- See Also:
-
GL_SEMAPHORE_TYPE_TIMELINE_NV
public static final int GL_SEMAPHORE_TYPE_TIMELINE_NVAccepted by theparam
parameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV whenpname
parameter is SEMAPHORE_TYPE_NV.- See Also:
-
GL_TIMELINE_SEMAPHORE_VALUE_NV
public static final int GL_TIMELINE_SEMAPHORE_VALUE_NVAccepted by thepname
parameter 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 thepname
parameter 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
-