This extensions contains functions for loading and saving
Direct3D
textures
using Imaging and for converting images to textures and vice versa.
Currently supported Direct3D
version is 9.0.
You need Direct3D
headers for
Object Pascal
to be able to compile this extension.
They can be found at http://www.clootie.ru.
Extension does not require D3DX library so if you use it
only for loading or saving textures you can replace it by Imaging
and remove dependency on 2+ MiB dll file.
It is implemented in ImagingDirect3D9.pas unit located
in (ImagingRoot)\Source\Extensions
directory.
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 Direct3D
functions
currently available.
There is also Imaging Direct3D
demo you can look at
for inspiration Object Pascal Direct3D Demo.