Top Description Fields Constructors Methods
org.lwjgl.opengles

public Class NVMemoryAttachment

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

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 EXT_texture_storage or a version of OpenGL ES that incorporates it.

Field Summary

Modifier and TypeField and Description
public static final int
GL_ATTACHED_MEMORY_OBJECT_NV

Accepted by the pname parameter 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.

public static final int
GL_ATTACHED_MEMORY_OFFSET_NV

Accepted by the pname parameter 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.

public static final int
GL_DETACHED_BUFFERS_NV

Accepted by the pname parameter of GetMemoryObjectParameterivEXT, GetMemoryObjectDetachedResourcesuivNV and ResetMemoryObjectParameterNV.

public static final int
GL_DETACHED_MEMORY_INCARNATION_NV

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, GetInteger64v, GetUnsignedBytevEXT, GetMemoryObjectParameterivEXT, and the target parameter of GetBooleani_v, GetIntegeri_v,GetFloati_v, GetDoublei_v, GetInteger64i_v and GetUnsignedBytei_vEXT.

public static final int
GL_DETACHED_TEXTURES_NV

Accepted by the pname parameter of GetMemoryObjectParameterivEXT, GetMemoryObjectDetachedResourcesuivNV and ResetMemoryObjectParameterNV.

public static final int
GL_MAX_DETACHED_BUFFERS_NV

Accepted by the pname parameter of MemoryObjectParameterivEXT, GetMemoryObjectParameterivEXT.

public static final int
GL_MAX_DETACHED_TEXTURES_NV

Accepted by the pname parameter of MemoryObjectParameterivEXT, GetMemoryObjectParameterivEXT.

public static final int
GL_MEMORY_ATTACHABLE_ALIGNMENT_NV

Accepted by the pname parameter 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.

public static final int
GL_MEMORY_ATTACHABLE_NV

Accepted by the pname parameter 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.

public static final int
GL_MEMORY_ATTACHABLE_SIZE_NV

Accepted by the pname parameter 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.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static native void
glBufferAttachMemoryNV(int target, int memory, long offset)

public static void
glGetMemoryObjectDetachedResourcesuivNV(int memory, int pname, int first, IntBuffer params)

public static void
glGetMemoryObjectDetachedResourcesuivNV(int memory, int pname, int first, int[] params)

Array version of: GetMemoryObjectDetachedResourcesuivNV

public static native void
glNamedBufferAttachMemoryNV(int buffer, int memory, long offset)

public static native void
glResetMemoryObjectParameterNV(int memory, int pname)

public static native void
glTexAttachMemoryNV(int target, int memory, long offset)

public static native void
glTextureAttachMemoryNV(int texture, int memory, long offset)

public static native void
nglGetMemoryObjectDetachedResourcesuivNV(int memory, int pname, int first, int count, long params)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_ATTACHED_MEMORY_OBJECT_NVback to summary
public static final int GL_ATTACHED_MEMORY_OBJECT_NV

Accepted by the pname parameter 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.

GL_ATTACHED_MEMORY_OFFSET_NVback to summary
public static final int GL_ATTACHED_MEMORY_OFFSET_NV

Accepted by the pname parameter 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.

GL_DETACHED_BUFFERS_NVback to summary
public static final int GL_DETACHED_BUFFERS_NV

Accepted by the pname parameter of GetMemoryObjectParameterivEXT, GetMemoryObjectDetachedResourcesuivNV and ResetMemoryObjectParameterNV.

GL_DETACHED_MEMORY_INCARNATION_NVback to summary
public static final int GL_DETACHED_MEMORY_INCARNATION_NV

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, GetInteger64v, GetUnsignedBytevEXT, GetMemoryObjectParameterivEXT, and the target parameter of GetBooleani_v, GetIntegeri_v,GetFloati_v, GetDoublei_v, GetInteger64i_v and GetUnsignedBytei_vEXT.

GL_DETACHED_TEXTURES_NVback to summary
public static final int GL_DETACHED_TEXTURES_NV

Accepted by the pname parameter of GetMemoryObjectParameterivEXT, GetMemoryObjectDetachedResourcesuivNV and ResetMemoryObjectParameterNV.

GL_MAX_DETACHED_BUFFERS_NVback to summary
public static final int GL_MAX_DETACHED_BUFFERS_NV

Accepted by the pname parameter of MemoryObjectParameterivEXT, GetMemoryObjectParameterivEXT.

GL_MAX_DETACHED_TEXTURES_NVback to summary
public static final int GL_MAX_DETACHED_TEXTURES_NV

Accepted by the pname parameter of MemoryObjectParameterivEXT, GetMemoryObjectParameterivEXT.

GL_MEMORY_ATTACHABLE_ALIGNMENT_NVback to summary
public static final int GL_MEMORY_ATTACHABLE_ALIGNMENT_NV

Accepted by the pname parameter 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.

GL_MEMORY_ATTACHABLE_NVback to summary
public static final int GL_MEMORY_ATTACHABLE_NV

Accepted by the pname parameter 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.

GL_MEMORY_ATTACHABLE_SIZE_NVback to summary
public static final int GL_MEMORY_ATTACHABLE_SIZE_NV

Accepted by the pname parameter 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.

Constructor Detail

NVMemoryAttachmentback to summary
protected NVMemoryAttachment()

Method Detail

glBufferAttachMemoryNVback to summary
public static native void glBufferAttachMemoryNV(int target, int memory, long offset)
glGetMemoryObjectDetachedResourcesuivNVback to summary
public static void glGetMemoryObjectDetachedResourcesuivNV(int memory, int pname, int first, IntBuffer params)
glGetMemoryObjectDetachedResourcesuivNVback to summary
public static void glGetMemoryObjectDetachedResourcesuivNV(int memory, int pname, int first, int[] params)

Array version of: GetMemoryObjectDetachedResourcesuivNV

glNamedBufferAttachMemoryNVback to summary
public static native void glNamedBufferAttachMemoryNV(int buffer, int memory, long offset)
glResetMemoryObjectParameterNVback to summary
public static native void glResetMemoryObjectParameterNV(int memory, int pname)
glTexAttachMemoryNVback to summary
public static native void glTexAttachMemoryNV(int target, int memory, long offset)
glTextureAttachMemoryNVback to summary
public static native void glTextureAttachMemoryNV(int texture, int memory, long offset)
nglGetMemoryObjectDetachedResourcesuivNVback to summary
public static native void nglGetMemoryObjectDetachedResourcesuivNV(int memory, int pname, int first, int count, long params)