Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class NVVertexBufferUnifiedMemory

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

Native bindings to the NV_vertex_buffer_unified_memory extension.

This extension provides a mechanism to specify vertex attrib and element array locations using GPU addresses.

Binding vertex buffers is one of the most frequent and expensive operations in many GL applications, due to the cost of chasing pointers and binding objects described in the Overview of NV_shader_buffer_load. The intent of this extension is to enable a way for the application to specify vertex attrib state that alleviates the overhead of object binds and driver memory management.

Field Summary

Modifier and TypeField and Description
public static final int
GL_COLOR_ARRAY_ADDRESS_NV

Accepted by the pname parameter of BufferAddressRangeNV and the value parameter of GetIntegerui64vNV.

public static final int
GL_COLOR_ARRAY_LENGTH_NV

Accepted by the value parameter of GetIntegerv.

public static final int
GL_EDGE_FLAG_ARRAY_ADDRESS_NV

Accepted by the pname parameter of BufferAddressRangeNV and the value parameter of GetIntegerui64vNV.

public static final int
GL_EDGE_FLAG_ARRAY_LENGTH_NV

Accepted by the value parameter of GetIntegerv.

public static final int
GL_ELEMENT_ARRAY_ADDRESS_NV

Accepted by the pname parameter of BufferAddressRangeNV and the value parameter of GetIntegerui64vNV.

public static final int
GL_ELEMENT_ARRAY_LENGTH_NV

Accepted by the value parameter of GetIntegerv.

public static final int
GL_ELEMENT_ARRAY_UNIFIED_NV

Accepted by the cap parameter of DisableClientState, EnableClientState, IsEnabled.

public static final int
GL_FOG_COORD_ARRAY_ADDRESS_NV

Accepted by the pname parameter of BufferAddressRangeNV and the value parameter of GetIntegerui64vNV.

public static final int
GL_FOG_COORD_ARRAY_LENGTH_NV

Accepted by the value parameter of GetIntegerv.

public static final int
GL_INDEX_ARRAY_ADDRESS_NV

Accepted by the pname parameter of BufferAddressRangeNV and the value parameter of GetIntegerui64vNV.

public static final int
GL_INDEX_ARRAY_LENGTH_NV

Accepted by the value parameter of GetIntegerv.

public static final int
GL_NORMAL_ARRAY_ADDRESS_NV

Accepted by the pname parameter of BufferAddressRangeNV and the value parameter of GetIntegerui64vNV.

public static final int
GL_NORMAL_ARRAY_LENGTH_NV

Accepted by the value parameter of GetIntegerv.

public static final int
GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV

Accepted by the pname parameter of BufferAddressRangeNV and the value parameter of GetIntegerui64vNV.

public static final int
GL_SECONDARY_COLOR_ARRAY_LENGTH_NV

Accepted by the value parameter of GetIntegerv.

public static final int
GL_TEXTURE_COORD_ARRAY_ADDRESS_NV

Accepted by the pname parameter of BufferAddressRangeNV and the value parameter of GetIntegerui64i_vNV.

public static final int
GL_TEXTURE_COORD_ARRAY_LENGTH_NV

Accepted by the target parameter of GetIntegeri_vNV.

public static final int
GL_VERTEX_ARRAY_ADDRESS_NV

Accepted by the pname parameter of BufferAddressRangeNV and the value parameter of GetIntegerui64vNV.

public static final int
GL_VERTEX_ARRAY_LENGTH_NV

Accepted by the value parameter of GetIntegerv.

public static final int
GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV

Accepted by the pname parameter of BufferAddressRangeNV and the value parameter of GetIntegerui64i_vNV.

public static final int
GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV

Accepted by the target parameter of GetIntegeri_vNV.

public static final int
GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV

Accepted by the cap parameter of DisableClientState, EnableClientState, IsEnabled.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static native void
glBufferAddressRangeNV(int pname, int index, long address, long length)

public static native void
glColorFormatNV(int size, int type, int stride)

public static native void
glEdgeFlagFormatNV(int stride)

public static native void
glFogCoordFormatNV(int type, int stride)

public static void
glGetIntegerui64i_vNV(int value, int index, LongBuffer result)

public static void
glGetIntegerui64i_vNV(int value, int index, long[] result)

Array version of: GetIntegerui64i_vNV

public static long
glGetIntegerui64iNV(int value, int index)

public static native void
glIndexFormatNV(int type, int stride)

public static native void
glNormalFormatNV(int type, int stride)

public static native void
glSecondaryColorFormatNV(int size, int type, int stride)

public static native void
glTexCoordFormatNV(int size, int type, int stride)

public static native void
glVertexAttribFormatNV(int index, int size, int type, boolean normalized, int stride)

public static native void
glVertexAttribIFormatNV(int index, int size, int type, int stride)

public static native void
glVertexFormatNV(int size, int type, int stride)

public static native void
nglGetIntegerui64i_vNV(int value, int index, long result)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_COLOR_ARRAY_ADDRESS_NVback to summary
public static final int GL_COLOR_ARRAY_ADDRESS_NV

Accepted by the pname parameter of BufferAddressRangeNV and the value parameter of GetIntegerui64vNV.

GL_COLOR_ARRAY_LENGTH_NVback to summary
public static final int GL_COLOR_ARRAY_LENGTH_NV

Accepted by the value parameter of GetIntegerv.

GL_EDGE_FLAG_ARRAY_ADDRESS_NVback to summary
public static final int GL_EDGE_FLAG_ARRAY_ADDRESS_NV

Accepted by the pname parameter of BufferAddressRangeNV and the value parameter of GetIntegerui64vNV.

GL_EDGE_FLAG_ARRAY_LENGTH_NVback to summary
public static final int GL_EDGE_FLAG_ARRAY_LENGTH_NV

Accepted by the value parameter of GetIntegerv.

GL_ELEMENT_ARRAY_ADDRESS_NVback to summary
public static final int GL_ELEMENT_ARRAY_ADDRESS_NV

Accepted by the pname parameter of BufferAddressRangeNV and the value parameter of GetIntegerui64vNV.

GL_ELEMENT_ARRAY_LENGTH_NVback to summary
public static final int GL_ELEMENT_ARRAY_LENGTH_NV

Accepted by the value parameter of GetIntegerv.

GL_ELEMENT_ARRAY_UNIFIED_NVback to summary
public static final int GL_ELEMENT_ARRAY_UNIFIED_NV

Accepted by the cap parameter of DisableClientState, EnableClientState, IsEnabled.

GL_FOG_COORD_ARRAY_ADDRESS_NVback to summary
public static final int GL_FOG_COORD_ARRAY_ADDRESS_NV

Accepted by the pname parameter of BufferAddressRangeNV and the value parameter of GetIntegerui64vNV.

GL_FOG_COORD_ARRAY_LENGTH_NVback to summary
public static final int GL_FOG_COORD_ARRAY_LENGTH_NV

Accepted by the value parameter of GetIntegerv.

GL_INDEX_ARRAY_ADDRESS_NVback to summary
public static final int GL_INDEX_ARRAY_ADDRESS_NV

Accepted by the pname parameter of BufferAddressRangeNV and the value parameter of GetIntegerui64vNV.

GL_INDEX_ARRAY_LENGTH_NVback to summary
public static final int GL_INDEX_ARRAY_LENGTH_NV

Accepted by the value parameter of GetIntegerv.

GL_NORMAL_ARRAY_ADDRESS_NVback to summary
public static final int GL_NORMAL_ARRAY_ADDRESS_NV

Accepted by the pname parameter of BufferAddressRangeNV and the value parameter of GetIntegerui64vNV.

GL_NORMAL_ARRAY_LENGTH_NVback to summary
public static final int GL_NORMAL_ARRAY_LENGTH_NV

Accepted by the value parameter of GetIntegerv.

GL_SECONDARY_COLOR_ARRAY_ADDRESS_NVback to summary
public static final int GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV

Accepted by the pname parameter of BufferAddressRangeNV and the value parameter of GetIntegerui64vNV.

GL_SECONDARY_COLOR_ARRAY_LENGTH_NVback to summary
public static final int GL_SECONDARY_COLOR_ARRAY_LENGTH_NV

Accepted by the value parameter of GetIntegerv.

GL_TEXTURE_COORD_ARRAY_ADDRESS_NVback to summary
public static final int GL_TEXTURE_COORD_ARRAY_ADDRESS_NV

Accepted by the pname parameter of BufferAddressRangeNV and the value parameter of GetIntegerui64i_vNV.

GL_TEXTURE_COORD_ARRAY_LENGTH_NVback to summary
public static final int GL_TEXTURE_COORD_ARRAY_LENGTH_NV

Accepted by the target parameter of GetIntegeri_vNV.

GL_VERTEX_ARRAY_ADDRESS_NVback to summary
public static final int GL_VERTEX_ARRAY_ADDRESS_NV

Accepted by the pname parameter of BufferAddressRangeNV and the value parameter of GetIntegerui64vNV.

GL_VERTEX_ARRAY_LENGTH_NVback to summary
public static final int GL_VERTEX_ARRAY_LENGTH_NV

Accepted by the value parameter of GetIntegerv.

GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NVback to summary
public static final int GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV

Accepted by the pname parameter of BufferAddressRangeNV and the value parameter of GetIntegerui64i_vNV.

GL_VERTEX_ATTRIB_ARRAY_LENGTH_NVback to summary
public static final int GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV

Accepted by the target parameter of GetIntegeri_vNV.

GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NVback to summary
public static final int GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV

Accepted by the cap parameter of DisableClientState, EnableClientState, IsEnabled.

Constructor Detail

NVVertexBufferUnifiedMemoryback to summary
protected NVVertexBufferUnifiedMemory()

Method Detail

glBufferAddressRangeNVback to summary
public static native void glBufferAddressRangeNV(int pname, int index, long address, long length)
glColorFormatNVback to summary
public static native void glColorFormatNV(int size, int type, int stride)
glEdgeFlagFormatNVback to summary
public static native void glEdgeFlagFormatNV(int stride)
glFogCoordFormatNVback to summary
public static native void glFogCoordFormatNV(int type, int stride)
glGetIntegerui64i_vNVback to summary
public static void glGetIntegerui64i_vNV(int value, int index, LongBuffer result)
glGetIntegerui64i_vNVback to summary
public static void glGetIntegerui64i_vNV(int value, int index, long[] result)

Array version of: GetIntegerui64i_vNV

glGetIntegerui64iNVback to summary
public static long glGetIntegerui64iNV(int value, int index)
Annotations
@NativeType:void
glIndexFormatNVback to summary
public static native void glIndexFormatNV(int type, int stride)
glNormalFormatNVback to summary
public static native void glNormalFormatNV(int type, int stride)
glSecondaryColorFormatNVback to summary
public static native void glSecondaryColorFormatNV(int size, int type, int stride)
glTexCoordFormatNVback to summary
public static native void glTexCoordFormatNV(int size, int type, int stride)
glVertexAttribFormatNVback to summary
public static native void glVertexAttribFormatNV(int index, int size, int type, boolean normalized, int stride)
glVertexAttribIFormatNVback to summary
public static native void glVertexAttribIFormatNV(int index, int size, int type, int stride)
glVertexFormatNVback to summary
public static native void glVertexFormatNV(int size, int type, int stride)
nglGetIntegerui64i_vNVback to summary
public static native void nglGetIntegerui64i_vNV(int value, int index, long result)