glTextureView

initialize a texture as a data alias of another texture's data store

Signature

glTextureView( GLuint ( texture ) , GLenum ( target ) , GLuint ( origtexture ) , GLenum ( internalformat ) , GLuint ( minlevel ) , GLuint ( numlevels ) , GLuint ( minlayer ) , GLuint ( numlayers ) )-> void

Parameters

VariablesDescription
texture
Specifies the texture object to be initialized as a view.
target
Specifies the target to be used for the newly initialized texture.
origtexture
Specifies the name of a texture object of which to make a view.
internalFormat
Specifies the internal format for the newly created view.
minlevel
Specifies lowest level of detail of the view.
numlevels
Specifies the number of levels of detail to include in the view.
minlayer
Specifies the index of the first layer to include in the view.
numlayers
Specifies the number of layers to include in the view.