CreateImageFromGLTexture Function
ImagingOpenGL

Converts main level of the GL texture to TImageData strucrue.

Pascal
function CreateImageFromGLTexture(const Texture: GLuint; 
                                  var Image: TImageData; 
                                  OverrideFormat: TImageFormat = ifUnknown): Boolean;
File

ImagingOpenGL (at line 150)

Description

OverrideFormat can be used to convert output image 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 > CreateImageFromGLTexture Function