Class TAutoGeneratedTextures

Unit

Declaration

type TAutoGeneratedTextures = class(TObject)

Description

Hierarchy

Overview

Methods

Public constructor Create(const Element: TDOMElement; const BaseURL: String; const AnAutoProcessImageURLs: Boolean; const AnAutoGeneratedAtLoad: TAutoGenerated);
Public destructor Destroy; override;
Public function GeneratedTextureURL(const URL: String; const UseCompression: Boolean; const TextureCompression: TTextureCompression; const Scaling: Cardinal): String;
Public function OriginalPlatforms: TCastlePlatforms;

Properties

Public property CompressedFormatsToGenerate: TTextureCompressionsToGenerate read FCompressedFormatsToGenerate;
Public property Scales: TScalesList read FScales;
Public property TrivialUncompressedConvert: Boolean read FTrivialUncompressedConvert;
Public property MipmapsLevel: Cardinal read FMipmapsLevel;

Description

Methods

Public constructor Create(const Element: TDOMElement; const BaseURL: String; const AnAutoProcessImageURLs: Boolean; const AnAutoGeneratedAtLoad: TAutoGenerated);
 
Public destructor Destroy; override;
 
Public function GeneratedTextureURL(const URL: String; const UseCompression: Boolean; const TextureCompression: TTextureCompression; const Scaling: Cardinal): String;

For given texture (absolute) URL and compression and scaling, return the proper (absolute) URL of auto-compressed and auto-downscaled counterpart. Scaling is defined just like TextureLoadingScale.

Public function OriginalPlatforms: TCastlePlatforms;

Determine the platforms for which the original texture should be packaged

Properties

Public property CompressedFormatsToGenerate: TTextureCompressionsToGenerate read FCompressedFormatsToGenerate;

Automatic compression formats generated for this texture. May return Nil, if there are no compressed formats to generate for this texture. The resulting class instance cannot be modified, and it is owned by this TMaterialProperties instance, so don't free it yourself.

Public property Scales: TScalesList read FScales;

Which scales to generate for this texture. Read-only.

Public property TrivialUncompressedConvert: Boolean read FTrivialUncompressedConvert;

Perform trivial conversion (that does not compress, does not downscale) for this texture.

Public property MipmapsLevel: Cardinal read FMipmapsLevel;
 

Generated by PasDoc 0.16.0.