Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class NVTimelineSemaphore

extends Object
Class Inheritance
Imports
java.nio.*, org.lwjgl.system.*

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

Modifier and TypeField and Description
public static final int
GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NV

Accepted by the pname parameter to GetIntegerv, GetFloatv, GetDoublev, GetInteger64v, and GetBooleanv.

public static final int
GL_SEMAPHORE_TYPE_BINARY_NV

Accepted by the param parameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV when pname parameter is SEMAPHORE_TYPE_NV.

public static final int
GL_SEMAPHORE_TYPE_NV

Accepted by the pname parameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV.

public static final int
GL_SEMAPHORE_TYPE_TIMELINE_NV

Accepted by the param parameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV when pname parameter is SEMAPHORE_TYPE_NV.

public static final int
GL_TIMELINE_SEMAPHORE_VALUE_NV

Accepted by the pname parameter of SemaphoreParameterui64vNV and GetSemaphoreParameterui64vNV.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static void
public static int
public static void
glCreateSemaphoresNV(int[] semaphores)

Array version of: CreateSemaphoresNV

public static void
glGetSemaphoreParameterivNV(int semaphore, int pname, IntBuffer params)

public static void
glGetSemaphoreParameterivNV(int semaphore, int pname, int[] params)

Array version of: GetSemaphoreParameterivNV

public static void
glSemaphoreParameterivNV(int semaphore, int pname, IntBuffer params)

public static void
glSemaphoreParameterivNV(int semaphore, int pname, int[] params)

Array version of: SemaphoreParameterivNV

public static native void
nglCreateSemaphoresNV(int n, long semaphores)

public static native void
nglGetSemaphoreParameterivNV(int semaphore, int pname, long params)

public static native void
nglSemaphoreParameterivNV(int semaphore, int pname, long params)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NVback to summary
public static final int GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NV

Accepted by the pname parameter to GetIntegerv, GetFloatv, GetDoublev, GetInteger64v, and GetBooleanv.

GL_SEMAPHORE_TYPE_BINARY_NVback to summary
public static final int GL_SEMAPHORE_TYPE_BINARY_NV

Accepted by the param parameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV when pname parameter is SEMAPHORE_TYPE_NV.

GL_SEMAPHORE_TYPE_NVback to summary
public static final int GL_SEMAPHORE_TYPE_NV

Accepted by the pname parameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV.

GL_SEMAPHORE_TYPE_TIMELINE_NVback to summary
public static final int GL_SEMAPHORE_TYPE_TIMELINE_NV

Accepted by the param parameter of SemaphoreParameterivNV and GetSemaphoreParameterivNV when pname parameter is SEMAPHORE_TYPE_NV.

GL_TIMELINE_SEMAPHORE_VALUE_NVback to summary
public static final int GL_TIMELINE_SEMAPHORE_VALUE_NV

Accepted by the pname parameter of SemaphoreParameterui64vNV and GetSemaphoreParameterui64vNV.

Constructor Detail

NVTimelineSemaphoreback to summary
protected NVTimelineSemaphore()

Method Detail

glCreateSemaphoresNVback to summary
public static void glCreateSemaphoresNV(IntBuffer semaphores)
glCreateSemaphoresNVback to summary
public static int glCreateSemaphoresNV()
Annotations
@NativeType:void
glCreateSemaphoresNVback to summary
public static void glCreateSemaphoresNV(int[] semaphores)

Array version of: CreateSemaphoresNV

glGetSemaphoreParameterivNVback to summary
public static void glGetSemaphoreParameterivNV(int semaphore, int pname, IntBuffer params)
glGetSemaphoreParameterivNVback to summary
public static void glGetSemaphoreParameterivNV(int semaphore, int pname, int[] params)

Array version of: GetSemaphoreParameterivNV

glSemaphoreParameterivNVback to summary
public static void glSemaphoreParameterivNV(int semaphore, int pname, IntBuffer params)
glSemaphoreParameterivNVback to summary
public static void glSemaphoreParameterivNV(int semaphore, int pname, int[] params)

Array version of: SemaphoreParameterivNV

nglCreateSemaphoresNVback to summary
public static native void nglCreateSemaphoresNV(int n, long semaphores)
nglGetSemaphoreParameterivNVback to summary
public static native void nglGetSemaphoreParameterivNV(int semaphore, int pname, long params)
nglSemaphoreParameterivNVback to summary
public static native void nglSemaphoreParameterivNV(int semaphore, int pname, long params)