MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLOpenGLDataOptimiserFormats Class Reference

Detailed Description

This class defines the formats that will be generated when processing a Map Link map with the TSLOpenGLDataOptimiser.

Public Member Functions

 TSLOpenGLDataOptimiserFormats ()
 
 ~TSLOpenGLDataOptimiserFormats ()
 
void compressRasterS3TC (bool compressS3TC)
 
bool compressRasterS3TC () const
 
void compressRasterETC2 (bool compressETC2)
 
bool compressRasterETC2 () const
 
void compressRasterETC1 (bool compressETC1)
 
bool compressRasterETC1 () const
 
void processVectorTiles (bool processVector)
 
bool processVectorTiles () const
 

Constructor & Destructor Documentation

◆ TSLOpenGLDataOptimiserFormats()

TSLOpenGLDataOptimiserFormats::TSLOpenGLDataOptimiserFormats ( )

◆ ~TSLOpenGLDataOptimiserFormats()

TSLOpenGLDataOptimiserFormats::~TSLOpenGLDataOptimiserFormats ( )

Member Function Documentation

◆ compressRasterETC1() [1/2]

bool TSLOpenGLDataOptimiserFormats::compressRasterETC1 ( ) const
inline

Returns whether the TSLOpenGLDataOptimiser will compress any rasters in the map into the Ericsson Texture Compression version 1 format.

By default ETC1 compression is enabled.

◆ compressRasterETC1() [2/2]

void TSLOpenGLDataOptimiserFormats::compressRasterETC1 ( bool compressETC1)
inline

Sets whether the TSLOpenGLDataOptimiser will compress any rasters in the map into the Ericsson Texture Compression version 1 format.

If set either TSLOpenGLDataOptimiser::rasterETCCompressionAvailable must return true or TSLOpenGLDataOptimiserOptions::etcPackLocation() must be set to the full path to the ETCpack executable.

The use of ETCpack is subject to the terms listed in the appropriate section of the MapLink Pro 3rd Party Licences document. If these terms are incompatible with the application the ETCpack executable should be removed from the MapLink installation in order to prevent its use.

◆ compressRasterETC2() [1/2]

bool TSLOpenGLDataOptimiserFormats::compressRasterETC2 ( ) const
inline

Returns whether the TSLOpenGLDataOptimiser will compress any rasters in the map into the Ericsson Texture Compression version 2 format.

By default ETC2 compression is enabled.

◆ compressRasterETC2() [2/2]

void TSLOpenGLDataOptimiserFormats::compressRasterETC2 ( bool compressETC2)
inline

Sets whether the TSLOpenGLDataOptimiser will compress any rasters in the map into the Ericsson Texture Compression version 2 format.

If set either TSLOpenGLDataOptimiser::rasterETCCompressionAvailable must return true or TSLOpenGLDataOptimiserOptions::etcPackLocation() must be set to the full path to the ETCpack executable.

The use of ETCpack is subject to the terms listed in the appropriate section of the MapLink Pro 3rd Party Licences document. If these terms are incompatible with the application the ETCpack executable should be removed from the MapLink installation in order to prevent its use.

◆ compressRasterS3TC() [1/2]

bool TSLOpenGLDataOptimiserFormats::compressRasterS3TC ( ) const
inline

Returns whether the TSLOpenGLDataOptimiser will compress any rasters in the map into the S3 Texture Compression format.

By default S3TC compression is enabled.

◆ compressRasterS3TC() [2/2]

void TSLOpenGLDataOptimiserFormats::compressRasterS3TC ( bool compressS3TC)
inline

Sets whether the TSLOpenGLDataOptimiser will compress any rasters in the map into the S3 Texture Compression format.

◆ processVectorTiles() [1/2]

bool TSLOpenGLDataOptimiserFormats::processVectorTiles ( ) const
inline

Returns whether the TSLOpenGLDataOptimiser will triangulate any vector tiles in the map. This means the triangulation does not need to be done when the map tiles are loaded by the TSLStaticMapDataLayer for display.

By default vector tiles are triangulated.

◆ processVectorTiles() [2/2]

void TSLOpenGLDataOptimiserFormats::processVectorTiles ( bool processVector)
inline

Sets whether the TSLOpenGLDataOptimiser will triangulate any vector tiles in the map. This means the triangulation does not need to be done when the map tiles are loaded by the TSLStaticMapDataLayer for display.