glGenerateMipmap

generate mipmaps for a specified texture target

Signature

glGenerateMipmap( GLenum ( target ) )-> void
glGenerateMipmap( target )

Parameters

VariablesDescription
target
Specifies the target to which the texture whose mimaps to generate is bound. target must be GL_TEXTURE_1D , GL_TEXTURE_2D , GL_TEXTURE_3D , GL_TEXTURE_1D_ARRAY , GL_TEXTURE_2D_ARRAY or GL_TEXTURE_CUBE_MAP .