Class TGPUCompressedImage

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TGPUCompressedImage = class(TEncodedImage)

Description

Image compressed using one of the GPU texture compression algorithms.

Hierarchy

Overview

Methods

Public constructor Create(const AWidth, AHeight, ADepth: Cardinal; const ACompression: TGPUCompression);
Public function Size: Cardinal; override;
Public function HasAlpha: boolean; override;
Public function AlphaChannel( const AlphaTolerance: Byte): TAlphaChannel; override;
Public procedure FlipVertical;
Public function Decompress: TCastleImage;
Public function MakeCopy: TGPUCompressedImage;

Properties

Public property Compression: TGPUCompression read FCompression;

Description

Methods

Public constructor Create(const AWidth, AHeight, ADepth: Cardinal; const ACompression: TGPUCompression);
 
Public function Size: Cardinal; override;

Size of the whole image data inside RawPixels, in bytes.

Public function HasAlpha: boolean; override;
 
Public function AlphaChannel( const AlphaTolerance: Byte): TAlphaChannel; override;
 
Variables
Public

Types

Variables

Constants

LoadFromFile(const URL: string);

Public

Hierarchy

  • TObject
  • TEncodedImage
  • Types

    Variables

    Constants

    Loaass="list,ef="Castlerg/wiki/S3_Texture_Compression about S3TC.

  • tcPvrtc1_4begend.html">PublicTCastleImage); override;
 

Properties

Public< S3TC.
  • tcPvrtc1_4begend.html">Public
  • function Split(QuantitySplit: Cardinal): TInventoryItem;

    Splits item (with Quant alt="Publioperty GrayscaleAlphaPixels: Public

    class procedure MixColors(const OutputColor: Pointer; const Weights: TVec"Public" title="Public"> function Size: Cardinal; override;

    Size of the whole image data inside RawPit: Cardinal; override;

     PArray_Vector2Byte;: TOptionArguments = [oaRequiredSeparateFirst .. oaRequiredSeparateLast];: