Package org.lwjgl.opengl
Class ARBGetTextureSubImage
- java.lang.Object
-
- org.lwjgl.opengl.ARBGetTextureSubImage
-
public class ARBGetTextureSubImage extends java.lang.Object
Native bindings to the ARB_get_texture_sub_image extension.This extension adds a new function to get sub-regions of texture images.
Requires
OpenGL 2.0
. Promoted to core inOpenGL 4.5
.
-
-
Method Summary
All Methods Static Methods Concrete Methods 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)
double[] 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)
DoubleBuffer version of:GetCompressedTextureSubImage
static void
glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, float[] pixels)
float[] 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)
FloatBuffer version of:GetCompressedTextureSubImage
static void
glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int[] pixels)
int[] 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)
IntBuffer version of:GetCompressedTextureSubImage
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)
short[] 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)
ShortBuffer version of:GetCompressedTextureSubImage
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)
double[] 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)
DoubleBuffer 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, float[] pixels)
float[] 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)
FloatBuffer 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, int[] pixels)
int[] 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)
IntBuffer 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, 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)
short[] 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)
ShortBuffer version of:GetTextureSubImage
-
-
-
Method Detail
-
glGetTextureSubImage
public 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.- Parameters:
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 data
-
glGetTextureSubImage
public 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.- Parameters:
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 data
-
glGetTextureSubImage
public 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)
ShortBuffer version of:GetTextureSubImage
-
glGetTextureSubImage
public 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)
IntBuffer version of:GetTextureSubImage
-
glGetTextureSubImage
public 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)
FloatBuffer version of:GetTextureSubImage
-
glGetTextureSubImage
public 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)
DoubleBuffer version of:GetTextureSubImage
-
glGetCompressedTextureSubImage
public 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.- Parameters:
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 data
-
glGetCompressedTextureSubImage
public 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.- Parameters:
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 data
-
glGetCompressedTextureSubImage
public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, java.nio.ShortBuffer pixels)
ShortBuffer version of:GetCompressedTextureSubImage
-
glGetCompressedTextureSubImage
public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, java.nio.IntBuffer pixels)
IntBuffer version of:GetCompressedTextureSubImage
-
glGetCompressedTextureSubImage
public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, java.nio.FloatBuffer pixels)
FloatBuffer version of:GetCompressedTextureSubImage
-
glGetCompressedTextureSubImage
public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, java.nio.DoubleBuffer pixels)
DoubleBuffer version of:GetCompressedTextureSubImage
-
glGetTextureSubImage
public 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)
short[] version of:GetTextureSubImage
-
glGetTextureSubImage
public 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)
int[] version of:GetTextureSubImage
-
glGetTextureSubImage
public 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)
float[] version of:GetTextureSubImage
-
glGetTextureSubImage
public 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)
double[] version of:GetTextureSubImage
-
glGetCompressedTextureSubImage
public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, short[] pixels)
short[] version of:GetCompressedTextureSubImage
-
glGetCompressedTextureSubImage
public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int[] pixels)
int[] version of:GetCompressedTextureSubImage
-
glGetCompressedTextureSubImage
public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, float[] pixels)
float[] version of:GetCompressedTextureSubImage
-
glGetCompressedTextureSubImage
public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, double[] pixels)
double[] version of:GetCompressedTextureSubImage
-
-