Class TRGBAlphaFloatImage
Unit
Declaration
type TRGBAlphaFloatImage = class(TCastleImage)
Description
Image with RGBA colors using Single (4 floating-point numbers for each pixel). For high-precision RGBA images. Compared to TRGBAlphaImage, each pixel is a floating-point number, which means it is more precise and can also be above 1.0 value (though they are still in 0..1 range when reading from normal image formats).
Hierarchy
- TObject
- TEncodedImage
- TCastleImage
- TRGBAlphaFloatImage
Overview
Methods
![]() |
function GetColors(const X, Y, Z: Integer): TCastleColor; override; |
![]() |
procedure SetColors(const X, Y, Z: Integer; const C: TCastleColor); override; |
![]() |
class function PixelSize: Cardinal; override; |
![]() |
class function ColorComponentsCount: Cardinal; override; |
![]() |
procedure Assign(const Source: TCastleImage); override; |
![]() |
procedure InvertColors; override; |
![]() |
class procedure MixColors(const OutputColor: Pointer; const Weights: TVector4; const AColors: TVector4Pointer); override; |
![]() |
function PixelPtr(const X, Y: Cardinal; const Z: Cardinal = 0): PVector4; |
![]() |
function RowPtr(const Y: Cardinal; const Z: Cardinal = 0): PVector4Array; |
Properties
![]() |
property Pixels: PVector4 read GetPixels; |
![]() |
property PixelsArray: PVector4Array read GetPixelsArray; |
Description
Methods
![]() |
function GetColors(const X, Y, Z: Integer): TCastleColor; override; |
![]() |
procedure SetColors(const X, Y, Z: Integer; const C: TCastleColor); override; |
![]() |
class function PixelSize: Cardinal; override; |
![]() |
class function ColorComponentsCount: Cardinal; override; |
![]() |
procedure Assign(const Source: TCastleImage); override; |
![]() |
procedure InvertColors; override; |
![]() |
class procedure MixColors(const OutputColor: Pointer; const Weights: TVector4; const AColors: TVector4Pointer); override; |
![]() |
function PixelPtr(const X, Y: Cardinal; const Z: Cardinal = 0): PVector4; |
Pointer to given pixel. |
![]() |
function RowPtr(const Y: Cardinal; const Z: Cardinal = 0): PVector4Array; |
Pointer to given row. |
Properties
![]() |
property Pixels: PVector4 read GetPixels; |
Pointer to |
![]() |
property PixelsArray: PVector4Array read GetPixelsArray; |
Pointer to pixels. Same as RawPixels, only typecasted to PVector4Array. |
Generated by PasDoc 0.16.0.