This extensions contains functions for loading and saving
using Imaging and for converting images to textures and vice versa.
OpenGL headers for
Object Pascal to be able to compile this extension.
Delphi GL (
were tested and they work.
Extension is implemented in unit located
To use it simply add this unit to
uses list of your program.
Currently only 2D textures are supported, DXTC/S3TC and 3Dc compressed, and
floating point textures are created if supported by hardware.
Here is the table with
There is also Imaging
OpenGL demo you can look at
for inspiration .
OpenGLtextures created by Imaging functions have default parameters set - that means that no
glTexParametercalls are made so default filtering, wrapping, and other parameters are used. Created textures are left bound by
glBindTexturewhen function is exited.