| Openb3d.DDSloader: | Functions | Types | Modinfo | Source |

# DDS image loader

The DDS loader module provides the ability to load compressed and uncompressed images as pixmaps.

## Functions Summary

LoadAnimImageDDS | Loads a DDS file as a Max2D multi-frame image.
LoadImageDDS | Loads a DDS file as a Max2D image.

## Types Summary

TDDS | DirectDrawSurface.

## Functions

Function LoadAnimImageDDS:TImage( url:Object, cell_width%, cell_height%, first_cell%, cell_count%, flags%=FILTEREDIMAGE, mr%=0, mg%=0, mb%=0 )
Description | Loads a DDS file as a Max2D multi-frame image.
Information | Loads compressed DXT1/3/5 or uncompressed RGB/RGBA/BGR/BGRA.

Function LoadImageDDS:TImage( url:Object, flags%=FILTEREDIMAGE, mr%=0, mg%=0, mb%=0 )
Description | Loads a DDS file as a Max2D image.
Information | Loads compressed DXT1/3/5 or uncompressed RGB/RGBA/BGR/BGRA.

## Types

Type TDDS
Description | DirectDrawSurface.

## Module Information

Version | 1.00
Author | Spinduluz
Wrapper | Mark Mcvittie
License | zlib/libpng
History | 1.00 - DirectDrawSurface pixmap loader
History | Initial Release - Apr 2019
CC_OPTS | -DGLEW_STATIC