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)
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.
-
-
-
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) 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) 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) 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) 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)
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
-
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) public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, java.nio.ShortBuffer pixels) public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, java.nio.IntBuffer pixels) public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, java.nio.FloatBuffer pixels) public 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.- 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
-
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) 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) 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) 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)
Array 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) public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int[] pixels) public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, float[] pixels) public 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
-
-