Package org.lwjgl.opengl
Class NVTimelineSemaphore
- java.lang.Object
-
- org.lwjgl.opengl.NVTimelineSemaphore
-
public class NVTimelineSemaphore extends java.lang.Object
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
Fields Modifier and Type Field Description static int
GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NV
Accepted by thepname
parameter to GetIntegerv, GetFloatv, GetDoublev, GetInteger64v, and GetBooleanv.static int
GL_SEMAPHORE_TYPE_BINARY_NV
Accepted by theparam
parameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV whenpname
parameter is SEMAPHORE_TYPE_NV.static int
GL_SEMAPHORE_TYPE_NV
Accepted by thepname
parameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV.static int
GL_SEMAPHORE_TYPE_TIMELINE_NV
Accepted by theparam
parameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV whenpname
parameter is SEMAPHORE_TYPE_NV.static int
GL_TIMELINE_SEMAPHORE_VALUE_NV
Accepted by thepname
parameter of SemaphoreParameterui64vNV and GetSemaphoreParameterui64vNV.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
glCreateSemaphoresNV()
static void
glCreateSemaphoresNV(int[] semaphores)
Array version of:CreateSemaphoresNV
static void
glCreateSemaphoresNV(java.nio.IntBuffer semaphores)
static void
glGetSemaphoreParameterivNV(int semaphore, int pname, int[] params)
Array version of:GetSemaphoreParameterivNV
static void
glGetSemaphoreParameterivNV(int semaphore, int pname, java.nio.IntBuffer params)
static void
glSemaphoreParameterivNV(int semaphore, int pname, int[] params)
Array version of:SemaphoreParameterivNV
static void
glSemaphoreParameterivNV(int semaphore, int pname, java.nio.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 Detail
-
GL_SEMAPHORE_TYPE_NV
Accepted by thepname
parameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV.
-
GL_SEMAPHORE_TYPE_BINARY_NV, GL_SEMAPHORE_TYPE_TIMELINE_NV
Accepted by theparam
parameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV whenpname
parameter is SEMAPHORE_TYPE_NV.
-
GL_TIMELINE_SEMAPHORE_VALUE_NV
Accepted by thepname
parameter of SemaphoreParameterui64vNV and GetSemaphoreParameterui64vNV.
-
GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NV
Accepted by thepname
parameter 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
-
-