glCopyTexSubImage3D¶
copy a three-dimensional texture subimage
function glCopyTexSubImage3D(int $target, int $level, int $xoffset, int $yoffset, int $zoffset, int $x, int $y, int $width, int $height) : void
- arguments
-
int$targetSpecifies the target to which the texture object is bound for glCopyTexSubImage3D function. Must beGL_TEXTURE_3D ,GL_TEXTURE_2D_ARRAY orGL_TEXTURE_CUBE_MAP_ARRAY .int$levelSpecifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.int$xoffsetSpecifies a texel offset in the x direction within the texture array.int$yoffsetSpecifies a texel offset in the y direction within the texture array.int$zoffsetSpecifies a texel offset in the z direction within the texture array.int$xSpecify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.int$yint$widthSpecifies the width of the texture subimage.int$heightSpecifies the height of the texture subimage.
- returns
-
void
Copyright © 2010-2014 Khronos Group
This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. https://opencontent.org/openpub/.