Package org.lwjgl.opengl
Class NVMemoryAttachment
java.lang.Object
org.lwjgl.opengl.NVMemoryAttachment
Native bindings to the NV_memory_attachment extension.
This extension extends the memory objects introduced with EXT_memory_object to allow existing textures and buffers to be migrated to an
imported memory allocation. The primary use-case of this extension is plug-in development where resource management (creation, deletion, sizing etc.)
is handled by inaccessible host application code.
Requires EXT_memory_object and ARB_texture_storage or a version of OpenGL that incorporates it.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAccepted by thepnameparameter of TexParameter{ifx}{v}, TexParameterI{i ui}v, TextureParameter{if}{v}, TextureParameterI{i ui}v, GetTexParameter{if}v, GetTexParameterI{i ui}v, GetTextureParameter{if}v, GetTextureParameterI{i ui}v, GetBufferParameter{i|i64}v and GetNamedBufferParameter{i|i64}v.static final intAccepted by thepnameparameter of TexParameter{ifx}{v}, TexParameterI{i ui}v, TextureParameter{if}{v}, TextureParameterI{i ui}v, GetTexParameter{if}v, GetTexParameterI{i ui}v, GetTextureParameter{if}v, GetTextureParameterI{i ui}v, GetBufferParameter{i|i64}v and GetNamedBufferParameter{i|i64}v.static final intAccepted by thepnameparameter of GetMemoryObjectParameterivEXT, GetMemoryObjectDetachedResourcesuivNV and ResetMemoryObjectParameterNV.static final intAccepted by thepnameparameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, GetInteger64v, GetUnsignedBytevEXT, GetMemoryObjectParameterivEXT, and thetargetparameter of GetBooleani_v, GetIntegeri_v,GetFloati_v, GetDoublei_v, GetInteger64i_v and GetUnsignedBytei_vEXT.static final intAccepted by thepnameparameter of GetMemoryObjectParameterivEXT, GetMemoryObjectDetachedResourcesuivNV and ResetMemoryObjectParameterNV.static final intAccepted by thepnameparameter of MemoryObjectParameterivEXT, GetMemoryObjectParameterivEXT.static final intAccepted by thepnameparameter of MemoryObjectParameterivEXT, GetMemoryObjectParameterivEXT.static final intAccepted by thepnameparameter of TexParameter{ifx}{v}, TexParameterI{i ui}v, TextureParameter{if}{v}, TextureParameterI{i ui}v, GetTexParameter{if}v, GetTexParameterI{i ui}v, GetTextureParameter{if}v, GetTextureParameterI{i ui}v, GetBufferParameter{i|i64}v and GetNamedBufferParameter{i|i64}v.static final intAccepted by thepnameparameter of TexParameter{ifx}{v}, TexParameterI{i ui}v, TextureParameter{if}{v}, TextureParameterI{i ui}v, GetTexParameter{if}v, GetTexParameterI{i ui}v, GetTextureParameter{if}v, GetTextureParameterI{i ui}v, GetBufferParameter{i|i64}v and GetNamedBufferParameter{i|i64}v.static final intAccepted by thepnameparameter of TexParameter{ifx}{v}, TexParameterI{i ui}v, TextureParameter{if}{v}, TextureParameterI{i ui}v, GetTexParameter{if}v, GetTexParameterI{i ui}v, GetTextureParameter{if}v, GetTextureParameterI{i ui}v, GetBufferParameter{i|i64}v and GetNamedBufferParameter{i|i64}v. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidglBufferAttachMemoryNV(int target, int memory, long offset) static voidglGetMemoryObjectDetachedResourcesuivNV(int memory, int pname, int first, int[] params) Array version of:GetMemoryObjectDetachedResourcesuivNVstatic voidglGetMemoryObjectDetachedResourcesuivNV(int memory, int pname, int first, IntBuffer params) static voidglNamedBufferAttachMemoryNV(int buffer, int memory, long offset) static voidglResetMemoryObjectParameterNV(int memory, int pname) static voidglTexAttachMemoryNV(int target, int memory, long offset) static voidglTextureAttachMemoryNV(int texture, int memory, long offset) static voidnglGetMemoryObjectDetachedResourcesuivNV(int memory, int pname, int first, int count, long params)
-
Field Details
-
GL_ATTACHED_MEMORY_OBJECT_NV
public static final int GL_ATTACHED_MEMORY_OBJECT_NVAccepted by thepnameparameter of TexParameter{ifx}{v}, TexParameterI{i ui}v, TextureParameter{if}{v}, TextureParameterI{i ui}v, GetTexParameter{if}v, GetTexParameterI{i ui}v, GetTextureParameter{if}v, GetTextureParameterI{i ui}v, GetBufferParameter{i|i64}v and GetNamedBufferParameter{i|i64}v.- See Also:
-
GL_ATTACHED_MEMORY_OFFSET_NV
public static final int GL_ATTACHED_MEMORY_OFFSET_NVAccepted by thepnameparameter of TexParameter{ifx}{v}, TexParameterI{i ui}v, TextureParameter{if}{v}, TextureParameterI{i ui}v, GetTexParameter{if}v, GetTexParameterI{i ui}v, GetTextureParameter{if}v, GetTextureParameterI{i ui}v, GetBufferParameter{i|i64}v and GetNamedBufferParameter{i|i64}v.- See Also:
-
GL_MEMORY_ATTACHABLE_ALIGNMENT_NV
public static final int GL_MEMORY_ATTACHABLE_ALIGNMENT_NVAccepted by thepnameparameter of TexParameter{ifx}{v}, TexParameterI{i ui}v, TextureParameter{if}{v}, TextureParameterI{i ui}v, GetTexParameter{if}v, GetTexParameterI{i ui}v, GetTextureParameter{if}v, GetTextureParameterI{i ui}v, GetBufferParameter{i|i64}v and GetNamedBufferParameter{i|i64}v.- See Also:
-
GL_MEMORY_ATTACHABLE_SIZE_NV
public static final int GL_MEMORY_ATTACHABLE_SIZE_NVAccepted by thepnameparameter of TexParameter{ifx}{v}, TexParameterI{i ui}v, TextureParameter{if}{v}, TextureParameterI{i ui}v, GetTexParameter{if}v, GetTexParameterI{i ui}v, GetTextureParameter{if}v, GetTextureParameterI{i ui}v, GetBufferParameter{i|i64}v and GetNamedBufferParameter{i|i64}v.- See Also:
-
GL_MEMORY_ATTACHABLE_NV
public static final int GL_MEMORY_ATTACHABLE_NVAccepted by thepnameparameter of TexParameter{ifx}{v}, TexParameterI{i ui}v, TextureParameter{if}{v}, TextureParameterI{i ui}v, GetTexParameter{if}v, GetTexParameterI{i ui}v, GetTextureParameter{if}v, GetTextureParameterI{i ui}v, GetBufferParameter{i|i64}v and GetNamedBufferParameter{i|i64}v.- See Also:
-
GL_DETACHED_MEMORY_INCARNATION_NV
public static final int GL_DETACHED_MEMORY_INCARNATION_NVAccepted by thepnameparameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, GetInteger64v, GetUnsignedBytevEXT, GetMemoryObjectParameterivEXT, and thetargetparameter of GetBooleani_v, GetIntegeri_v,GetFloati_v, GetDoublei_v, GetInteger64i_v and GetUnsignedBytei_vEXT.- See Also:
-
GL_DETACHED_TEXTURES_NV
public static final int GL_DETACHED_TEXTURES_NVAccepted by thepnameparameter of GetMemoryObjectParameterivEXT, GetMemoryObjectDetachedResourcesuivNV and ResetMemoryObjectParameterNV.- See Also:
-
GL_DETACHED_BUFFERS_NV
public static final int GL_DETACHED_BUFFERS_NVAccepted by thepnameparameter of GetMemoryObjectParameterivEXT, GetMemoryObjectDetachedResourcesuivNV and ResetMemoryObjectParameterNV.- See Also:
-
GL_MAX_DETACHED_TEXTURES_NV
public static final int GL_MAX_DETACHED_TEXTURES_NVAccepted by thepnameparameter of MemoryObjectParameterivEXT, GetMemoryObjectParameterivEXT.- See Also:
-
GL_MAX_DETACHED_BUFFERS_NV
public static final int GL_MAX_DETACHED_BUFFERS_NVAccepted by thepnameparameter of MemoryObjectParameterivEXT, GetMemoryObjectParameterivEXT.- See Also:
-
-
Method Details
-
nglGetMemoryObjectDetachedResourcesuivNV
public static void nglGetMemoryObjectDetachedResourcesuivNV(int memory, int pname, int first, int count, long params) -
glGetMemoryObjectDetachedResourcesuivNV
public static void glGetMemoryObjectDetachedResourcesuivNV(int memory, int pname, int first, IntBuffer params) -
glResetMemoryObjectParameterNV
public static void glResetMemoryObjectParameterNV(int memory, int pname) -
glTexAttachMemoryNV
public static void glTexAttachMemoryNV(int target, int memory, long offset) -
glBufferAttachMemoryNV
public static void glBufferAttachMemoryNV(int target, int memory, long offset) -
glTextureAttachMemoryNV
public static void glTextureAttachMemoryNV(int texture, int memory, long offset) -
glNamedBufferAttachMemoryNV
public static void glNamedBufferAttachMemoryNV(int buffer, int memory, long offset) -
glGetMemoryObjectDetachedResourcesuivNV
public static void glGetMemoryObjectDetachedResourcesuivNV(int memory, int pname, int first, int[] params) Array version of:GetMemoryObjectDetachedResourcesuivNV
-