Unit CastleCompositeImage

Description

Composite (like KTX or DDS) image file format handling (TCompositeImage).

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class EInvalidCompositeImage  
Class EInvalidDDS  
Class EInvalidKTX  
Class TCompositeImage Composite image file (like KTX or DDS).

Types

TCompositeType = (...);
TCubeMapSide = (...);
TCubeMapSides = set of TCubeMapSide;
TCubeMapImages = array [TCubeMapSide] of TCastleImage;

Constants

AllCubeMapSides = [Low(TCubeMapSide) .. High(TCubeMapSide)];
CompositeTypeToString: array [TCompositeType] of string = ( 'Texture', 'CubeMap', 'Volume' );

Description

Types

TCompositeType = (...);

Type of data in a TCompositeImage file. This doesn't take into account mipmaps (they are orthogonal to types here).

Values
  • ctTexture
  • ctCubeMap
  • ctVolume
TCubeMapSide = (...);

Cube map faces. Always interpreted in right-handed orientation (like for OpenGL or OpenGL ES) by our engine. Order matches the order of OpenGL constants GL_TEXTURE_CUBE_MAP_POSITIVE/NEGATIVE_X/Y/Z_ARB.

Values
  • csPositiveX
  • csNegativeX
  • csPositiveY
  • csNegativeY
  • csPositiveZ
  • csNegativeZ
TCubeMapSides = set of TCubeMapSide;
 
TCubeMapImages = array [TCubeMapSide] of TCastleImage;
 

Constants

AllCubeMapSides = [Low(TCubeMapSide) .. High(TCubeMapSide)];
 
CompositeTypeToString: array [TCompositeType] of string = ( 'Texture', 'CubeMap', 'Volume' );
 

Generated by PasDoc 0.15.0.