Class TAutoGeneratedTextures
Unit
CastleMaterialProperties
Declaration
type TAutoGeneratedTextures = class(TObject)
Description
Hierarchy
- TObject
- TAutoGeneratedTextures
Overview
Methods
Properties
Description
Methods
|
constructor Create(const Element: TDOMElement; const BaseURL: String; const AnAutoProcessImageURLs: Boolean; const AnAutoGeneratedAtLoad: TAutoGenerated); |
|
|
destructor Destroy; override; |
|
|
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.
|
|
function OriginalPlatforms: TCastlePlatforms; |
Determine the platforms for which the original texture should be packaged
|
Properties
|
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.
|
|
property Scales: TScalesList read FScales; |
Which scales to generate for this texture. Read-only.
|
|
property TrivialUncompressedConvert: Boolean read FTrivialUncompressedConvert; |
Perform trivial conversion (that does not compress, does not downscale) for this texture.
|
|
property MipmapsLevel: Cardinal read FMipmapsLevel; |
|
Generated by PasDoc 0.16.0.