Package org.lwjgl.opengl
Class NVVertexBufferUnifiedMemory
- java.lang.Object
-
- org.lwjgl.opengl.NVVertexBufferUnifiedMemory
-
public class NVVertexBufferUnifiedMemory extends java.lang.ObjectNative 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
Fields Modifier and Type Field and Description static intGL_COLOR_ARRAY_ADDRESS_NVAccepted by thepnameparameter of BufferAddressRangeNV and thevalueparameter of GetIntegerui64vNV.static intGL_COLOR_ARRAY_LENGTH_NVAccepted by thevalueparameter of GetIntegerv.static intGL_EDGE_FLAG_ARRAY_ADDRESS_NVAccepted by thepnameparameter of BufferAddressRangeNV and thevalueparameter of GetIntegerui64vNV.static intGL_EDGE_FLAG_ARRAY_LENGTH_NVAccepted by thevalueparameter of GetIntegerv.static intGL_ELEMENT_ARRAY_ADDRESS_NVAccepted by thepnameparameter of BufferAddressRangeNV and thevalueparameter of GetIntegerui64vNV.static intGL_ELEMENT_ARRAY_LENGTH_NVAccepted by thevalueparameter of GetIntegerv.static intGL_ELEMENT_ARRAY_UNIFIED_NVAccepted by thecapparameter of DisableClientState, EnableClientState, IsEnabled.static intGL_FOG_COORD_ARRAY_ADDRESS_NVAccepted by thepnameparameter of BufferAddressRangeNV and thevalueparameter of GetIntegerui64vNV.static intGL_FOG_COORD_ARRAY_LENGTH_NVAccepted by thevalueparameter of GetIntegerv.static intGL_INDEX_ARRAY_ADDRESS_NVAccepted by thepnameparameter of BufferAddressRangeNV and thevalueparameter of GetIntegerui64vNV.static intGL_INDEX_ARRAY_LENGTH_NVAccepted by thevalueparameter of GetIntegerv.static intGL_NORMAL_ARRAY_ADDRESS_NVAccepted by thepnameparameter of BufferAddressRangeNV and thevalueparameter of GetIntegerui64vNV.static intGL_NORMAL_ARRAY_LENGTH_NVAccepted by thevalueparameter of GetIntegerv.static intGL_SECONDARY_COLOR_ARRAY_ADDRESS_NVAccepted by thepnameparameter of BufferAddressRangeNV and thevalueparameter of GetIntegerui64vNV.static intGL_SECONDARY_COLOR_ARRAY_LENGTH_NVAccepted by thevalueparameter of GetIntegerv.static intGL_TEXTURE_COORD_ARRAY_ADDRESS_NVAccepted by thepnameparameter of BufferAddressRangeNV and thevalueparameter of GetIntegerui64i_vNV.static intGL_TEXTURE_COORD_ARRAY_LENGTH_NVAccepted by thetargetparameter of GetIntegeri_vNV.static intGL_VERTEX_ARRAY_ADDRESS_NVAccepted by thepnameparameter of BufferAddressRangeNV and thevalueparameter of GetIntegerui64vNV.static intGL_VERTEX_ARRAY_LENGTH_NVAccepted by thevalueparameter of GetIntegerv.static intGL_VERTEX_ATTRIB_ARRAY_ADDRESS_NVAccepted by thepnameparameter of BufferAddressRangeNV and thevalueparameter of GetIntegerui64i_vNV.static intGL_VERTEX_ATTRIB_ARRAY_LENGTH_NVAccepted by thetargetparameter of GetIntegeri_vNV.static intGL_VERTEX_ATTRIB_ARRAY_UNIFIED_NVAccepted by thecapparameter of DisableClientState, EnableClientState, IsEnabled.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidglBufferAddressRangeNV(int pname, int index, long address, long length)static voidglColorFormatNV(int size, int type, int stride)static voidglEdgeFlagFormatNV(int stride)static voidglFogCoordFormatNV(int type, int stride)static voidglGetIntegerui64i_vNV(int value, int index, long[] result)Array version of:GetIntegerui64i_vNVstatic voidglGetIntegerui64i_vNV(int value, int index, java.nio.LongBuffer result)static longglGetIntegerui64iNV(int value, int index)static voidglIndexFormatNV(int type, int stride)static voidglNormalFormatNV(int type, int stride)static voidglSecondaryColorFormatNV(int size, int type, int stride)static voidglTexCoordFormatNV(int size, int type, int stride)static voidglVertexAttribFormatNV(int index, int size, int type, boolean normalized, int stride)static voidglVertexAttribIFormatNV(int index, int size, int type, int stride)static voidglVertexFormatNV(int size, int type, int stride)
-
-
-
Field Detail
-
GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV, GL_ELEMENT_ARRAY_UNIFIED_NV
Accepted by thecapparameter of DisableClientState, EnableClientState, IsEnabled.
-
GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV, GL_TEXTURE_COORD_ARRAY_ADDRESS_NV
Accepted by thepnameparameter of BufferAddressRangeNV and thevalueparameter of GetIntegerui64i_vNV.
-
GL_VERTEX_ARRAY_ADDRESS_NV, GL_NORMAL_ARRAY_ADDRESS_NV, GL_COLOR_ARRAY_ADDRESS_NV, GL_INDEX_ARRAY_ADDRESS_NV, GL_EDGE_FLAG_ARRAY_ADDRESS_NV, GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV, GL_FOG_COORD_ARRAY_ADDRESS_NV, GL_ELEMENT_ARRAY_ADDRESS_NV
Accepted by thepnameparameter of BufferAddressRangeNV and thevalueparameter of GetIntegerui64vNV.
-
GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV, GL_TEXTURE_COORD_ARRAY_LENGTH_NV
Accepted by thetargetparameter of GetIntegeri_vNV.
-
GL_VERTEX_ARRAY_LENGTH_NV, GL_NORMAL_ARRAY_LENGTH_NV, GL_COLOR_ARRAY_LENGTH_NV, GL_INDEX_ARRAY_LENGTH_NV, GL_EDGE_FLAG_ARRAY_LENGTH_NV, GL_SECONDARY_COLOR_ARRAY_LENGTH_NV, GL_FOG_COORD_ARRAY_LENGTH_NV, GL_ELEMENT_ARRAY_LENGTH_NV
Accepted by thevalueparameter of GetIntegerv.
-
-
Method Detail
-
glBufferAddressRangeNV
public static void glBufferAddressRangeNV(int pname, int index, long address, long length)
-
glVertexFormatNV
public static void glVertexFormatNV(int size, int type, int stride)
-
glNormalFormatNV
public static void glNormalFormatNV(int type, int stride)
-
glColorFormatNV
public static void glColorFormatNV(int size, int type, int stride)
-
glIndexFormatNV
public static void glIndexFormatNV(int type, int stride)
-
glTexCoordFormatNV
public static void glTexCoordFormatNV(int size, int type, int stride)
-
glEdgeFlagFormatNV
public static void glEdgeFlagFormatNV(int stride)
-
glSecondaryColorFormatNV
public static void glSecondaryColorFormatNV(int size, int type, int stride)
-
glFogCoordFormatNV
public static void glFogCoordFormatNV(int type, int stride)
-
glVertexAttribFormatNV
public static void glVertexAttribFormatNV(int index, int size, int type, boolean normalized, int stride)
-
glVertexAttribIFormatNV
public static void glVertexAttribIFormatNV(int index, int size, int type, int stride)
-
glGetIntegerui64i_vNV
public static void glGetIntegerui64i_vNV(int value, int index, java.nio.LongBuffer result)
-
glGetIntegerui64iNV
public static long glGetIntegerui64iNV(int value, int index)
-
glGetIntegerui64i_vNV
public static void glGetIntegerui64i_vNV(int value, int index, long[] result)Array version of:GetIntegerui64i_vNV
-
-