CreateMultiImageFromGLTexture Function
ImagingOpenGL

Converts GL texture to TDynImageDataArray array of images.

Pascal
function CreateMultiImageFromGLTexture(const Texture: GLuint; 
                                       var Images: TDynImageDataArray; 
                                       MipLevels: LongInt = 0; 
                                       OverrideFormat: TImageFormat = ifUnknown): Boolean;
File

ImagingOpenGL (at line 157)

Description

You can specify how many mipmap levels of the input texture you want to be converted (default is all levels). OverrideFormat can be used to convert output images to the specified format rather than use the format taken from GL texture, ifUnknown means no conversion.

Related Information
You are here: Symbol Reference > Functions > CreateMultiImageFromGLTexture Function