Top Description Constructors Methods
org.lwjgl.opengl

public Class ARBGetTextureSubImage

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

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 in OpenGL 4.5.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static void
glGetCompressedTextureSubImage(int
the source texture object name
texture
,
int
the level-of-detail number
level
,
int
the x-position of the subregion
xoffset
,
int
the y-position of the subregion
yoffset
,
int
the z-position of the subregion
zoffset
,
int
the subregion width
width
,
int
the subregion height
height
,
int
the subregion depth
depth
,
int
the size of the buffer to receive the retrieved pixel data
bufSize
,
long
the buffer in which to place the returned data
pixels
)

Obtains a sub-region of a compressed texture image.

public static void
glGetCompressedTextureSubImage(int
the source texture object name
texture
,
int
the level-of-detail number
level
,
int
the x-position of the subregion
xoffset
,
int
the y-position of the subregion
yoffset
,
int
the z-position of the subregion
zoffset
,
int
the subregion width
width
,
int
the subregion height
height
,
int
the subregion depth
depth
,
ByteBuffer
the buffer in which to place the returned data
pixels
)

Obtains a sub-region of a compressed texture image.

public static void
glGetCompressedTextureSubImage(int
the source texture object name
texture
,
int
the level-of-detail number
level
,
int
the x-position of the subregion
xoffset
,
int
the y-position of the subregion
yoffset
,
int
the z-position of the subregion
zoffset
,
int
the subregion width
width
,
int
the subregion height
height
,
int
the subregion depth
depth
,
ShortBuffer
the buffer in which to place the returned data
pixels
)

Obtains a sub-region of a compressed texture image.

public static void
glGetCompressedTextureSubImage(int
the source texture object name
texture
,
int
the level-of-detail number
level
,
int
the x-position of the subregion
xoffset
,
int
the y-position of the subregion
yoffset
,
int
the z-position of the subregion
zoffset
,
int
the subregion width
width
,
int
the subregion height
height
,
int
the subregion depth
depth
,
IntBuffer
the buffer in which to place the returned data
pixels
)

Obtains a sub-region of a compressed texture image.

public static void
glGetCompressedTextureSubImage(int
the source texture object name
texture
,
int
the level-of-detail number
level
,
int
the x-position of the subregion
xoffset
,
int
the y-position of the subregion
yoffset
,
int
the z-position of the subregion
zoffset
,
int
the subregion width
width
,
int
the subregion height
height
,
int
the subregion depth
depth
,
FloatBuffer
the buffer in which to place the returned data
pixels
)

Obtains a sub-region of a compressed texture image.

public static void
glGetCompressedTextureSubImage(int
the source texture object name
texture
,
int
the level-of-detail number
level
,
int
the x-position of the subregion
xoffset
,
int
the y-position of the subregion
yoffset
,
int
the z-position of the subregion
zoffset
,
int
the subregion width
width
,
int
the subregion height
height
,
int
the subregion depth
depth
,
DoubleBuffer
the buffer in which to place the returned data
pixels
)

Obtains a sub-region of a compressed texture image.

public 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

public 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

public 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

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

public static void
glGetTextureSubImage(int
the source texture object name
texture
,
int
the level-of-detail number
level
,
int
the x-position of the subregion
xoffset
,
int
the y-position of the subregion
yoffset
,
int
the z-position of the subregion
zoffset
,
int
the subregion width
width
,
int
the subregion height
height
,
int
the subregion depth
depth
,
int format, int type, int
the size of the buffer to receive the retrieved pixel data
bufSize
,
long
the buffer in which to place the returned data
pixels
)

Obtains sub-regions of a texture image from a texture object.

public static void
glGetTextureSubImage(int
the source texture object name
texture
,
int
the level-of-detail number
level
,
int
the x-position of the subregion
xoffset
,
int
the y-position of the subregion
yoffset
,
int
the z-position of the subregion
zoffset
,
int
the subregion width
width
,
int
the subregion height
height
,
int
the subregion depth
depth
,
int format, int type, ByteBuffer
the buffer in which to place the returned data
pixels
)

Obtains sub-regions of a texture image from a texture object.

public static void
glGetTextureSubImage(int
the source texture object name
texture
,
int
the level-of-detail number
level
,
int
the x-position of the subregion
xoffset
,
int
the y-position of the subregion
yoffset
,
int
the z-position of the subregion
zoffset
,
int
the subregion width
width
,
int
the subregion height
height
,
int
the subregion depth
depth
,
int format, int type, ShortBuffer
the buffer in which to place the returned data
pixels
)

Obtains sub-regions of a texture image from a texture object.

public static void
glGetTextureSubImage(int
the source texture object name
texture
,
int
the level-of-detail number
level
,
int
the x-position of the subregion
xoffset
,
int
the y-position of the subregion
yoffset
,
int
the z-position of the subregion
zoffset
,
int
the subregion width
width
,
int
the subregion height
height
,
int
the subregion depth
depth
,
int format, int type, IntBuffer
the buffer in which to place the returned data
pixels
)

Obtains sub-regions of a texture image from a texture object.

public static void
glGetTextureSubImage(int
the source texture object name
texture
,
int
the level-of-detail number
level
,
int
the x-position of the subregion
xoffset
,
int
the y-position of the subregion
yoffset
,
int
the z-position of the subregion
zoffset
,
int
the subregion width
width
,
int
the subregion height
height
,
int
the subregion depth
depth
,
int format, int type, FloatBuffer
the buffer in which to place the returned data
pixels
)

Obtains sub-regions of a texture image from a texture object.

public static void
glGetTextureSubImage(int
the source texture object name
texture
,
int
the level-of-detail number
level
,
int
the x-position of the subregion
xoffset
,
int
the y-position of the subregion
yoffset
,
int
the z-position of the subregion
zoffset
,
int
the subregion width
width
,
int
the subregion height
height
,
int
the subregion depth
depth
,
int format, int type, DoubleBuffer
the buffer in which to place the returned data
pixels
)

Obtains sub-regions of a texture image from a texture object.

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)

Array version of: GetTextureSubImage

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)

Array version of: GetTextureSubImage

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)

Array version of: GetTextureSubImage

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

public static void
nglGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int
the size of the buffer to receive the retrieved pixel data
bufSize
,
long pixels)

Unsafe version of: GetCompressedTextureSubImage

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
the size of the buffer to receive the retrieved pixel data
bufSize
,
long pixels)

Unsafe version of: GetTextureSubImage

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait