CreateMultiImageFromGLTexture Function

Converts GL texture to TDynImageDataArray array of images.

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

ImagingOpenGL (at line 157)


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