glCopyTexSubImage1D

copy a one-dimensional texture subimage

Signature

glCopyTexSubImage1D( GLenum ( target ) , GLint ( level ) , GLint ( xoffset ) , GLint ( x ) , GLint ( y ) , GLsizei ( width ) )-> void
glCopyTexSubImage1D( target , level , xoffset , x , y , width )

Parameters

VariablesDescription
target
Specifies the target texture. Must be GL_TEXTURE_1D .
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 the texel offset within the texture array.
x, y
Specify the window coordinates of the left corner of the row of pixels to be copied.
width
Specifies the width of the texture subimage.