glCopyImageSubData

perform a raw data copy between two images

Signature

glCopyImageSubData( GLuint ( srcName ) , GLenum ( srcTarget ) , GLint ( srcLevel ) , GLint ( srcX ) , GLint ( srcY ) , GLint ( srcZ ) , GLuint ( dstName ) , GLenum ( dstTarget ) , GLint ( dstLevel ) , GLint ( dstX ) , GLint ( dstY ) , GLint ( dstZ ) , GLsizei ( srcWidth ) , GLsizei ( srcHeight ) , GLsizei ( srcDepth ) )-> void
glCopyImageSubData( srcName , srcTarget , srcLevel , srcX , srcY , srcZ , dstName , dstTarget , dstLevel , dstX , dstY , dstZ , srcWidth , srcHeight , srcDepth )

Parameters

VariablesDescription
srcName
The name of a texture or renderbuffer object from which to copy.
srcTarget
The target representing the namespace of the source name srcName .
srcLevel
The mipmap level to read from the source.
srcX
The X coordinate of the left edge of the souce region to copy.
srcY
The Y coordinate of the top edge of the souce region to copy.
srcZ
The Z coordinate of the near edge of the souce region to copy.
dstName
The name of a texture or renderbuffer object to which to copy.
dstTarget
The target representing the namespace of the destination name dstName .
dstX
The X coordinate of the left edge of the destination region.
dstY
The Y coordinate of the top edge of the destination region.
dstZ
The Z coordinate of the near edge of the destination region.
srcWidth
The width of the region to be copied.
srcHeight
The height of the region to be copied.
srcDepth
The depth of the region to be copied.