glClearTexImage

fills all a texture image with a constant value

Signature

glClearTexImage( GLuint ( texture ) , GLint ( level ) , GLenum ( format ) , GLenum ( type ) , const void * ( data ) )-> void
glClearTexImage( texture , level , format , type , data )

Parameters

VariablesDescription
texture
The name of an existing texture object containing the image to be cleared.
level
The level of texture containing the region to be cleared.
format
The format of the data whose address in memory is given by data .
type
The type of the data whose address in memory is given by data .
data
The address in memory of the data to be used to clear the specified region.