Introduction
Units
Class Hierarchy
Classes, Interfaces, Objects and Records
Types
Variables
Constants
Functions and Procedures
Identifiers
DDS image file format handling (TDDSImage).
EInvalidDDS
TDDSImage
TDDSType = (...);
TDDSCubeMapSide = (...);
TDDSCubeMapSides = set of TDDSCubeMapSide;
AllDDSCubeMapSides = [Low(TDDSCubeMapSide) .. High(TDDSCubeMapSide)];
DDSTypeToString: array [TDDSType] of string = ( 'Texture', 'CubeMap', 'Volume' );
Type of data in DDS image file. This doesn't take into account mipmaps (they are orthogonal to types here).
DDS cube map sides.
Note that if you work in right-handed coordinate system (like OpenGL, see http://opengl.org/registry/specs/ARB/texture_cube_map.txt) then you should swap the meaning of positive/negative y faces. That's because cube map sides are named and written in DDS file in a way natural for DirectX, and DirectX has left-handed coordinate system, which means that one axis seems reverted when you want OpenGL right-handed coord system. See [http://castle-engine.sourceforge.net/x3d_implementation_status.php#section_dds] for more.