public class NVMemoryAttachment
extends java.lang.Object
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.
| Modifier and Type | Field and Description |
|---|---|
static 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. |
static 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. |
static int |
GL_DETACHED_BUFFERS_NV
Accepted by the
pname parameter of GetMemoryObjectParameterivEXT, GetMemoryObjectDetachedResourcesuivNV and ResetMemoryObjectParameterNV. |
static 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. |
static int |
GL_DETACHED_TEXTURES_NV
Accepted by the
pname parameter of GetMemoryObjectParameterivEXT, GetMemoryObjectDetachedResourcesuivNV and ResetMemoryObjectParameterNV. |
static int |
GL_MAX_DETACHED_BUFFERS_NV
Accepted by the
pname parameter of MemoryObjectParameterivEXT, GetMemoryObjectParameterivEXT. |
static int |
GL_MAX_DETACHED_TEXTURES_NV
Accepted by the
pname parameter of MemoryObjectParameterivEXT, GetMemoryObjectParameterivEXT. |
static 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. |
static 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. |
static 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. |
| Modifier and Type | Method and Description |
|---|---|
static void |
glBufferAttachMemoryNV(int target,
int memory,
long offset) |
static void |
glGetMemoryObjectDetachedResourcesuivNV(int memory,
int pname,
int first,
int[] params)
Array version of:
GetMemoryObjectDetachedResourcesuivNV |
static void |
glGetMemoryObjectDetachedResourcesuivNV(int memory,
int pname,
int first,
java.nio.IntBuffer params) |
static void |
glNamedBufferAttachMemoryNV(int buffer,
int memory,
long offset) |
static void |
glResetMemoryObjectParameterNV(int memory,
int pname) |
static void |
glTexAttachMemoryNV(int target,
int memory,
long offset) |
static void |
glTextureAttachMemoryNV(int texture,
int memory,
long offset) |
static void |
nglGetMemoryObjectDetachedResourcesuivNV(int memory,
int pname,
int first,
int count,
long params) |
public static final int GL_ATTACHED_MEMORY_OBJECT_NV
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
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_ALIGNMENT_NV
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
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
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_MEMORY_INCARNATION_NV
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
pname parameter of GetMemoryObjectParameterivEXT, GetMemoryObjectDetachedResourcesuivNV and ResetMemoryObjectParameterNV.public static final int GL_DETACHED_BUFFERS_NV
pname parameter of GetMemoryObjectParameterivEXT, GetMemoryObjectDetachedResourcesuivNV and ResetMemoryObjectParameterNV.public static final int GL_MAX_DETACHED_TEXTURES_NV
pname parameter of MemoryObjectParameterivEXT, GetMemoryObjectParameterivEXT.public static final int GL_MAX_DETACHED_BUFFERS_NV
pname parameter of MemoryObjectParameterivEXT, GetMemoryObjectParameterivEXT.public static void nglGetMemoryObjectDetachedResourcesuivNV(int memory,
int pname,
int first,
int count,
long params)
public static void glGetMemoryObjectDetachedResourcesuivNV(int memory,
int pname,
int first,
java.nio.IntBuffer params)
public static void glResetMemoryObjectParameterNV(int memory,
int pname)
public static void glTexAttachMemoryNV(int target,
int memory,
long offset)
public static void glBufferAttachMemoryNV(int target,
int memory,
long offset)
public static void glTextureAttachMemoryNV(int texture,
int memory,
long offset)
public static void glNamedBufferAttachMemoryNV(int buffer,
int memory,
long offset)
public static void glGetMemoryObjectDetachedResourcesuivNV(int memory,
int pname,
int first,
int[] params)
GetMemoryObjectDetachedResourcesuivNVCopyright LWJGL. All Rights Reserved. License terms.