public class ARBGetTextureSubImage
extends java.lang.Object
This extension adds a new function to get sub-regions of texture images.
Requires OpenGL 2.0. Promoted to core in OpenGL 4.5.
| Modifier and Type | Method and Description |
|---|---|
static void |
glGetCompressedTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
java.nio.ByteBuffer pixels)
Obtains a sub-region of a compressed texture image.
|
static void |
glGetCompressedTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
double[] pixels)
Array version of:
GetCompressedTextureSubImage |
static void |
glGetCompressedTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
java.nio.DoubleBuffer pixels)
Obtains a sub-region of a compressed texture image.
|
static void |
glGetCompressedTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
float[] pixels)
Array version of:
GetCompressedTextureSubImage |
static void |
glGetCompressedTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
java.nio.FloatBuffer pixels)
Obtains a sub-region of a compressed texture image.
|
static void |
glGetCompressedTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int[] pixels)
Array version of:
GetCompressedTextureSubImage |
static void |
glGetCompressedTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
java.nio.IntBuffer pixels)
Obtains a sub-region of a compressed texture image.
|
static void |
glGetCompressedTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int bufSize,
long pixels)
Obtains a sub-region of a compressed texture image.
|
static void |
glGetCompressedTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
short[] pixels)
Array version of:
GetCompressedTextureSubImage |
static void |
glGetCompressedTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
java.nio.ShortBuffer pixels)
Obtains a sub-region of a compressed texture image.
|
static void |
glGetTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
java.nio.ByteBuffer pixels)
Obtains sub-regions of a texture image from a texture object.
|
static void |
glGetTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
double[] pixels)
Array version of:
GetTextureSubImage |
static void |
glGetTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
java.nio.DoubleBuffer pixels)
Obtains sub-regions of a texture image from a texture object.
|
static void |
glGetTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
float[] pixels)
Array version of:
GetTextureSubImage |
static void |
glGetTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
java.nio.FloatBuffer pixels)
Obtains sub-regions of a texture image from a texture object.
|
static void |
glGetTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
int[] pixels)
Array version of:
GetTextureSubImage |
static void |
glGetTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
java.nio.IntBuffer pixels)
Obtains sub-regions of a texture image from a texture object.
|
static void |
glGetTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
int bufSize,
long pixels)
Obtains sub-regions of a texture image from a texture object.
|
static void |
glGetTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
short[] pixels)
Array version of:
GetTextureSubImage |
static void |
glGetTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
java.nio.ShortBuffer pixels)
Obtains sub-regions of a texture image from a texture object.
|
static void |
nglGetCompressedTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int bufSize,
long pixels)
Unsafe version of:
GetCompressedTextureSubImage |
static void |
nglGetTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
int bufSize,
long pixels)
Unsafe version of:
GetTextureSubImage |
public static void nglGetTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
int bufSize,
long pixels)
GetTextureSubImagebufSize - the size of the buffer to receive the retrieved pixel datapublic static void glGetTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
int bufSize,
long pixels)
texture - the source texture object namelevel - the level-of-detail numberxoffset - the x-position of the subregionyoffset - the y-position of the subregionzoffset - the z-position of the subregionwidth - the subregion widthheight - the subregion heightdepth - the subregion depthformat - the pixel format. One of:type - the pixel type. One of:bufSize - the size of the buffer to receive the retrieved pixel datapixels - the buffer in which to place the returned datapublic static void glGetTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
java.nio.ByteBuffer pixels)
texture - the source texture object namelevel - the level-of-detail numberxoffset - the x-position of the subregionyoffset - the y-position of the subregionzoffset - the z-position of the subregionwidth - the subregion widthheight - the subregion heightdepth - the subregion depthformat - the pixel format. One of:type - the pixel type. One of:pixels - the buffer in which to place the returned datapublic static void glGetTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
java.nio.ShortBuffer pixels)
texture - the source texture object namelevel - the level-of-detail numberxoffset - the x-position of the subregionyoffset - the y-position of the subregionzoffset - the z-position of the subregionwidth - the subregion widthheight - the subregion heightdepth - the subregion depthformat - the pixel format. One of:type - the pixel type. One of:pixels - the buffer in which to place the returned datapublic static void glGetTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
java.nio.IntBuffer pixels)
texture - the source texture object namelevel - the level-of-detail numberxoffset - the x-position of the subregionyoffset - the y-position of the subregionzoffset - the z-position of the subregionwidth - the subregion widthheight - the subregion heightdepth - the subregion depthformat - the pixel format. One of:type - the pixel type. One of:pixels - the buffer in which to place the returned datapublic static void glGetTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
java.nio.FloatBuffer pixels)
texture - the source texture object namelevel - the level-of-detail numberxoffset - the x-position of the subregionyoffset - the y-position of the subregionzoffset - the z-position of the subregionwidth - the subregion widthheight - the subregion heightdepth - the subregion depthformat - the pixel format. One of:type - the pixel type. One of:pixels - the buffer in which to place the returned datapublic static void glGetTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
java.nio.DoubleBuffer pixels)
texture - the source texture object namelevel - the level-of-detail numberxoffset - the x-position of the subregionyoffset - the y-position of the subregionzoffset - the z-position of the subregionwidth - the subregion widthheight - the subregion heightdepth - the subregion depthformat - the pixel format. One of:type - the pixel type. One of:pixels - the buffer in which to place the returned datapublic static void nglGetCompressedTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int bufSize,
long pixels)
GetCompressedTextureSubImagebufSize - the size of the buffer to receive the retrieved pixel datapublic static void glGetCompressedTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int bufSize,
long pixels)
texture - the source texture object namelevel - the level-of-detail numberxoffset - the x-position of the subregionyoffset - the y-position of the subregionzoffset - the z-position of the subregionwidth - the subregion widthheight - the subregion heightdepth - the subregion depthbufSize - the size of the buffer to receive the retrieved pixel datapixels - the buffer in which to place the returned datapublic static void glGetCompressedTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
java.nio.ByteBuffer pixels)
texture - the source texture object namelevel - the level-of-detail numberxoffset - the x-position of the subregionyoffset - the y-position of the subregionzoffset - the z-position of the subregionwidth - the subregion widthheight - the subregion heightdepth - the subregion depthpixels - the buffer in which to place the returned datapublic static void glGetCompressedTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
java.nio.ShortBuffer pixels)
texture - the source texture object namelevel - the level-of-detail numberxoffset - the x-position of the subregionyoffset - the y-position of the subregionzoffset - the z-position of the subregionwidth - the subregion widthheight - the subregion heightdepth - the subregion depthpixels - the buffer in which to place the returned datapublic static void glGetCompressedTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
java.nio.IntBuffer pixels)
texture - the source texture object namelevel - the level-of-detail numberxoffset - the x-position of the subregionyoffset - the y-position of the subregionzoffset - the z-position of the subregionwidth - the subregion widthheight - the subregion heightdepth - the subregion depthpixels - the buffer in which to place the returned datapublic static void glGetCompressedTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
java.nio.FloatBuffer pixels)
texture - the source texture object namelevel - the level-of-detail numberxoffset - the x-position of the subregionyoffset - the y-position of the subregionzoffset - the z-position of the subregionwidth - the subregion widthheight - the subregion heightdepth - the subregion depthpixels - the buffer in which to place the returned datapublic static void glGetCompressedTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
java.nio.DoubleBuffer pixels)
texture - the source texture object namelevel - the level-of-detail numberxoffset - the x-position of the subregionyoffset - the y-position of the subregionzoffset - the z-position of the subregionwidth - the subregion widthheight - the subregion heightdepth - the subregion depthpixels - the buffer in which to place the returned datapublic static void glGetTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
short[] pixels)
GetTextureSubImagepublic static void glGetTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
int[] pixels)
GetTextureSubImagepublic static void glGetTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
float[] pixels)
GetTextureSubImagepublic static void glGetTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
double[] pixels)
GetTextureSubImagepublic static void glGetCompressedTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
short[] pixels)
GetCompressedTextureSubImagepublic static void glGetCompressedTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int[] pixels)
GetCompressedTextureSubImagepublic static void glGetCompressedTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
float[] pixels)
GetCompressedTextureSubImagepublic static void glGetCompressedTextureSubImage(int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
double[] pixels)
GetCompressedTextureSubImageCopyright LWJGL. All Rights Reserved. License terms.