glCopyTexSubImage3D

copy a three-dimensional texture subimage

Signature

glCopyTexSubImage3D( GLenum ( target ) , GLint ( level ) , GLint ( xoffset ) , GLint ( yoffset ) , GLint ( zoffset ) , GLint ( x ) , GLint ( y ) , GLsizei ( width ) , GLsizei ( height ) )-> void
glCopyTexSubImage3D( target , level , xoffset , yoffset , zoffset , x , y , width , height )

Parameters

VariablesDescription
target
Specifies the target texture. Must be GL_TEXTURE_3D or GL_TEXTURE_2D_ARRAY .
level
Specifies the level-of-detail number. Level 0 is the base image level. Level n is the n th mipmap reduction image.
xoffset
Specifies a texel offset in the x direction within the texture array.
yoffset
Specifies a texel offset in the y direction within the texture array.
zoffset
Specifies a texel offset in the z direction within the texture array.
x, y
Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.
width
Specifies the width of the texture subimage.
height
Specifies the height of the texture subimage.