This extension adds a new function to get sub-regions of texture images.
Requires OpenGL 2.. Promoted to core in OpenGL 4..
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method 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: |
| 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: |
| 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: |
| 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: |
| 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 the pixel type. One of: 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 the pixel type. One of: 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 the pixel type. One of: 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 the pixel type. One of: 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 the pixel type. One of: 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 the pixel type. One of: 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: |
| 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: |
| 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: |
| 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: |
| 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: |
| 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: |