Class TBGLCustomTexture
Unit
Declaration
type TBGLCustomTexture = class(TInterfacedObject, IBGLTexture)
Description
Abstract class for a texture in OpenGL (stored in VRAM)
Hierarchy
- TInterfacedObject
- TBGLCustomTexture
Overview
Fields
FBlendMode: TOpenGLBlendMode; |
|
FFrame: integer; |
|
FFrameHeight: integer; |
|
FFrameWidth: integer; |
|
FGradBottomLeft: TBGRAPixel; |
|
FGradBottomRight: TBGRAPixel; |
|
FGradTopLeft: TBGRAPixel; |
|
FGradTopRight: TBGRAPixel; |
|
FHeight: integer; |
|
FImageCenter: TPointF; |
|
FIsMask: boolean; |
|
FOpenGLTexture: TBGLTextureHandle; |
|
FOpenGLTextureOwned: boolean; |
|
FResampleFilter: TOpenGLResampleFilter; |
|
FUseGradientColor: boolean; |
|
FWidth: integer; |
Methods
constructor Create(AFPImage: TFPCustomImage); overload; |
|
constructor Create(ABitmap: TBitmap); overload; |
|
constructor Create(ARGBAData: PLongWord; AllocatedWidth,AllocatedHeight, ActualWidth,ActualHeight: integer; RGBAOrder: boolean = true); overload; |
|
constructor Create; overload; |
|
constructor Create(ATexture: TBGLTextureHandle; AWidth,AHeight: integer); overload; |
|
constructor Create(AFilenameUTF8: string; AWidth,AHeight: integer; AResampleFilter: TResampleFilter); overload; |
|
constructor Create(AStream: TStream); overload; |
|
constructor Create(AFilenameUTF8: string); overload; |
|
constructor Create(AWidth, AHeight: integer; Color: TColor); overload; |
|
constructor Create(AWidth, AHeight: integer; Color: TBGRAPixel); overload; |
|
destructor Destroy; override; |
|
function FilterBlurMotion(ARadius: single; ABlurType: TRadialBlurType; ADirection: TPointF): IBGLTexture; virtual; |
|
function FilterBlurRadial(ARadius: single; ABlurType: TRadialBlurType): IBGLTexture; virtual; |
|
function CreateOpenGLTexture(ARGBAData: PLongWord; AAllocatedWidth, AAllocatedHeight, AActualWidth, AActualHeight: integer; RGBAOrder: boolean): TBGLTextureHandle; virtual; abstract; |
|
function Duplicate: TBGLCustomTexture; virtual; |
|
function GetEmptyTexture: TBGLTextureHandle; virtual; abstract; |
|
function GetOpenGLFrameCount(ATexture: TBGLTextureHandle): integer; virtual; abstract; |
|
function GetOpenGLMaxTexSize: integer; virtual; abstract; |
|
function GetUseGradientColors: boolean; virtual; |
|
function NewEmpty: TBGLCustomTexture; virtual; abstract; |
|
function NewFromTexture(ATexture: TBGLTextureHandle; AWidth,AHeight: integer): TBGLCustomTexture; virtual; abstract; |
|
class function SupportsBGRAOrder: boolean; virtual; |
|
procedure Bind(ATextureNumber: integer); virtual; |
|
procedure Draw(x,y: single; AHorizAlign: TAlignment; AVertAlign: TTextLayout = tlTop; AAlpha: byte = 255); overload; |
|
procedure Draw(x,y: single; AHorizAlign: TAlignment; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload; |
|
procedure Draw(x,y: single; AAlpha: byte = 255); overload; |
|
procedure Draw(x,y: single; AColor: TBGRAPixel); overload; |
|
procedure DrawAffine(const Origin, HAxis, VAxis: TPointF; AAlpha: byte = 255); overload; |
|
procedure DrawAffine(x,y: single; const AMatrix: TAffineMatrix; AAlpha: byte = 255); overload; |
|
procedure DrawAffine(const Origin, HAxis, VAxis: TPointF; AColor: TBGRAPixel); overload; |
|
procedure DrawAffine(x,y: single; const AMatrix: TAffineMatrix; AColor: TBGRAPixel); overload; |
|
procedure DrawAngle(x,y,angleDeg: single; AHorizAlign: TAlignment; AVertAlign: TTextLayout = tlTop; AAlpha: byte = 255); overload; |
|
procedure DrawAngle(x,y,angleDeg: single; AHorizAlign: TAlignment; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload; |
|
procedure DrawAngle(x,y,angleDeg: single; AColor: TBGRAPixel); overload; |
|
procedure DrawAngle(x,y,angleDeg: single; const imageCenter: TPointF; ARestoreOffsetAfterRotation: boolean; AAlpha: byte = 255); overload; |
|
procedure DrawAngle(x,y,angleDeg: single; const imageCenter: TPointF; ARestoreOffsetAfterRotation: boolean; AColor: TBGRAPixel); overload; |
|
procedure DrawAngle(x,y,angleDeg: single; AAlpha: byte = 255); overload; |
|
procedure DrawQuad(const APoints3D: array of TPoint3D_128; const ATexCoords: array of TPointF); overload; |
|
procedure DrawQuad(const APoints3D: array of TPoint3D_128; const ATexCoords: array of TPointF; const AColors: array of TColorF); overload; |
|
procedure DrawQuad(const APoints: array of TPointF; const ATexCoords: array of TPointF); overload; |
|
procedure DrawQuad(const APoints: array of TPointF; const ATexCoords: array of TPointF; const AColors: array of TColorF); overload; |
|
procedure DrawQuad(const APoints3D: array of TPoint3D_128; const ANormals3D: array of TPoint3D_128; const ATexCoords: array of TPointF; const AColors: array of TColorF); overload; |
|
procedure DrawQuad(const APoints: array of TPointF; const APointsZ: array of Single; const ATexCoords: array of TPointF); overload; |
|
procedure DrawQuad(const APoints3D: array of TPoint3D_128; const ANormals3D: array of TPoint3D_128; const ATexCoords: array of TPointF); overload; |
|
procedure DrawQuad(const APoints: array of TPointF; const APointsZ: array of Single; const ATexCoords: array of TPointF; const AColors: array of TColorF); overload; |
|
procedure DrawTriangle(const APoints3D: array of TPoint3D_128; const ANormals3D: array of TPoint3D_128; const ATexCoords: array of TPointF); overload; |
|
procedure DrawTriangle(const APoints3D: array of TPoint3D_128; const ANormals3D: array of TPoint3D_128; const ATexCoords: array of TPointF; const AColors: array of TColorF); overload; |
|
procedure DrawTriangle(const APoints3D: array of TPoint3D_128; const ATexCoords: array of TPointF; const AColors: array of TColorF); overload; |
|
procedure DrawTriangle(const APoints: array of TPointF; const APointsZ: array of Single; const ATexCoords: array of TPointF); overload; |
|
procedure DrawTriangle(const APoints: array of TPointF; const APointsZ: array of Single; const ATexCoords: array of TPointF; const AColors: array of TColorF); overload; |
|
procedure DrawTriangle(const APoints: array of TPointF; const ATexCoords: array of TPointF); overload; |
|
procedure DrawTriangle(const APoints: array of TPointF; const ATexCoords: array of TPointF; const AColors: array of TColorF); overload; |
|
procedure DrawTriangle(const APoints3D: array of TPoint3D_128; const ATexCoords: array of TPointF); overload; |
|
procedure FreeMemory; |
|
procedure SetFrame(AIndex: integer); |
|
procedure SetFrameSize(x,y: integer); |
|
procedure SetGradientColors(ATopLeft, ATopRight, ABottomRight, ABottomLeft: TBGRAPixel); |
|
procedure StretchDraw(x,y,w,h: single; AColor: TBGRAPixel); overload; |
|
procedure StretchDraw(x,y,w,h: single; AAlpha: byte = 255); overload; |
|
procedure StretchDraw(x,y,w,h: single; AHorizAlign: TAlignment; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload; |
|
procedure StretchDraw(x,y,w,h: single; AHorizAlign: TAlignment; AVertAlign: TTextLayout = tlTop; AAlpha: byte = 255); overload; |
|
procedure StretchDrawAngle(x,y,w,h,angleDeg: single; AColor: TBGRAPixel); overload; |
|
procedure StretchDrawAngle(x,y,w,h,angleDeg: single; AHorizAlign: TAlignment; AVertAlign: TTextLayout = tlTop; AAlpha: byte = 255); overload; |
|
procedure StretchDrawAngle(x,y,w,h,angleDeg: single; AHorizAlign: TAlignment; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload; |
|
procedure StretchDrawAngle(x,y,w,h,angleDeg: single; AAlpha: byte = 255); overload; |
|
procedure StretchDrawAngle(x,y,w,h,angleDeg: single; const imageCenter: TPointF; ARestoreOffsetAfterRotation: boolean; AAlpha: byte = 255); overload; |
|
procedure StretchDrawAngle(x,y,w,h,angleDeg: single; const imageCenter: TPointF; ARestoreOffsetAfterRotation: boolean; AColor: TBGRAPixel); overload; |
|
procedure ToggleFlipX; virtual; abstract; |
|
procedure ToggleFlipY; virtual; abstract; |
|
procedure ToggleMask; virtual; |
|
procedure Update(ARGBAData: PLongWord; AllocatedWidth, AllocatedHeight, ActualWidth,ActualHeight: integer; RGBAOrder: boolean = true); |
|
procedure ComputeOpenGLFramesCoord(ATexture: TBGLTextureHandle; FramesX: Integer=1; FramesY: Integer=1); virtual; abstract; |
|
procedure DoDrawAffine(Origin, HAxis, VAxis: TPointF; AColor: TBGRAPixel); virtual; abstract; |
|
procedure DoDrawTriangleOrQuad(const Points: array of TPointF; const APointsZ: array of Single; const APoints3D: array of TPoint3D_128; const ANormals3D: array of TPoint3D_128; const TexCoords: array of TPointF; const AColors: array of TColorF); virtual; |
|
procedure DoStretchDraw(x,y,w,h: single; AColor: TBGRAPixel); virtual; abstract; |
|
procedure DoStretchDrawAngle(x,y,w,h,angleDeg: single; rotationCenter: TPointF; AColor: TBGRAPixel); virtual; abstract; |
|
procedure FreeMemoryOnDestroy; virtual; |
|
procedure FreeOpenGLTexture(ATexture: TBGLTextureHandle); virtual; abstract; |
|
procedure Init(ATexture: TBGLTextureHandle; AWidth,AHeight: integer; AOwned: boolean); virtual; |
|
procedure InitEmpty; |
|
procedure InitFromData(ARGBAData: PLongWord; AllocatedWidth,AllocatedHeight, ActualWidth,ActualHeight: integer; RGBAOrder: boolean); |
|
procedure InitFromStream(AStream: TStream); |
|
procedure NotifyErrorLoadingFile(AFilename: string); virtual; |
|
procedure NotifyInvalidFrameSize; virtual; |
|
procedure SetOpenGLTextureSize(ATexture: TBGLTextureHandle; AAllocatedWidth, AAllocatedHeight, AActualWidth, AActualHeight: integer); virtual; abstract; |
|
procedure SetUseGradientColors(AValue: boolean); virtual; |
|
procedure UpdateGLResampleFilter(ATexture: TBGLTextureHandle; AFilter: TOpenGLResampleFilter); virtual; abstract; |
|
procedure UpdateOpenGLTexture(ATexture: TBGLTextureHandle; ARGBAData: PLongWord; AAllocatedWidth, AAllocatedHeight, AActualWidth,AActualHeight: integer; RGBAOrder: boolean); virtual; abstract; |
Properties
property BlendMode: TOpenGLBlendMode read GetOpenGLBlendMode write SetOpenGLBlendMode; |
|
property FlipX: IBGLTexture read GetFlipX; |
|
property FlipY: IBGLTexture read GetFlipY; |
|
property Frame[AIndex: integer]: IBGLTexture read GetFrame; |
|
property FrameCount: integer read GetFrameCount; |
|
property FrameHeight: integer read GetFrameHeight; |
|
property FrameWidth: integer read GetFrameWidth; |
|
property GradientColors: boolean read GetUseGradientColors write SetUseGradientColors; |
|
property Handle: TBGLTextureHandle read GetOpenGLTexture; |
|
property Height: integer read GetHeight; |
|
property Mask: IBGLTexture read GetMask; |
|
property ResampleFilter: TOpenGLResampleFilter read GetResampleFilter write SetResampleFilter; |
|
property Width: integer read GetWidth; |
Description
Fields
FBlendMode: TOpenGLBlendMode; |
|
This item has no description. |
FFrame: integer; |
|
This item has no description. |
FFrameHeight: integer; |
|
This item has no description. |
FFrameWidth: integer; |
|
This item has no description. |
FGradBottomLeft: TBGRAPixel; |
|
This item has no description. |
FGradBottomRight: TBGRAPixel; |
|
This item has no description. |
FGradTopLeft: TBGRAPixel; |
|
This item has no description. |
FGradTopRight: TBGRAPixel; |
|
This item has no description. |
FHeight: integer; |
|
This item has no description. |
FImageCenter: TPointF; |
|
This item has no description. |
FIsMask: boolean; |
|
This item has no description. |
FOpenGLTexture: TBGLTextureHandle; |
|
This item has no description. |
FOpenGLTextureOwned: boolean; |
|
This item has no description. |
FResampleFilter: TOpenGLResampleFilter; |
|
This item has no description. |
FUseGradientColor: boolean; |
|
This item has no description. |
FWidth: integer; |
|
This item has no description. |
Methods
constructor Create(AFPImage: TFPCustomImage); overload; |
|
This item has no description. |
constructor Create(ABitmap: TBitmap); overload; |
|
This item has no description. |
constructor Create(ARGBAData: PLongWord; AllocatedWidth,AllocatedHeight, ActualWidth,ActualHeight: integer; RGBAOrder: boolean = true); overload; |
|
This item has no description. |
constructor Create; overload; |
|
This item has no description. |
constructor Create(ATexture: TBGLTextureHandle; AWidth,AHeight: integer); overload; |
|
This item has no description. |
constructor Create(AFilenameUTF8: string; AWidth,AHeight: integer; AResampleFilter: TResampleFilter); overload; |
|
This item has no description. |
constructor Create(AStream: TStream); overload; |
|
This item has no description. |
constructor Create(AFilenameUTF8: string); overload; |
|
This item has no description. |
constructor Create(AWidth, AHeight: integer; Color: TColor); overload; |
|
This item has no description. |
constructor Create(AWidth, AHeight: integer; Color: TBGRAPixel); overload; |
|
This item has no description. |
destructor Destroy; override; |
|
This item has no description. |
function FilterBlurMotion(ARadius: single; ABlurType: TRadialBlurType; ADirection: TPointF): IBGLTexture; virtual; |
|
This item has no description. |
function FilterBlurRadial(ARadius: single; ABlurType: TRadialBlurType): IBGLTexture; virtual; |
|
This item has no description. |
function CreateOpenGLTexture(ARGBAData: PLongWord; AAllocatedWidth, AAllocatedHeight, AActualWidth, AActualHeight: integer; RGBAOrder: boolean): TBGLTextureHandle; virtual; abstract; |
|
This item has no description. |
function Duplicate: TBGLCustomTexture; virtual; |
|
This item has no description. |
function GetEmptyTexture: TBGLTextureHandle; virtual; abstract; |
|
This item has no description. |
function GetOpenGLFrameCount(ATexture: TBGLTextureHandle): integer; virtual; abstract; |
|
This item has no description. |
function GetOpenGLMaxTexSize: integer; virtual; abstract; |
|
This item has no description. |
function GetUseGradientColors: boolean; virtual; |
|
This item has no description. |
function NewEmpty: TBGLCustomTexture; virtual; abstract; |
|
This item has no description. |
function NewFromTexture(ATexture: TBGLTextureHandle; AWidth,AHeight: integer): TBGLCustomTexture; virtual; abstract; |
|
This item has no description. |
class function SupportsBGRAOrder: boolean; virtual; |
|
This item has no description. |
procedure Bind(ATextureNumber: integer); virtual; |
|
This item has no description. |
procedure Draw(x,y: single; AHorizAlign: TAlignment; AVertAlign: TTextLayout = tlTop; AAlpha: byte = 255); overload; |
|
This item has no description. |
procedure Draw(x,y: single; AHorizAlign: TAlignment; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure Draw(x,y: single; AAlpha: byte = 255); overload; |
|
This item has no description. |
procedure Draw(x,y: single; AColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure DrawAffine(const Origin, HAxis, VAxis: TPointF; AAlpha: byte = 255); overload; |
|
This item has no description. |
procedure DrawAffine(x,y: single; const AMatrix: TAffineMatrix; AAlpha: byte = 255); overload; |
|
This item has no description. |
procedure DrawAffine(const Origin, HAxis, VAxis: TPointF; AColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure DrawAffine(x,y: single; const AMatrix: TAffineMatrix; AColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure DrawAngle(x,y,angleDeg: single; AHorizAlign: TAlignment; AVertAlign: TTextLayout = tlTop; AAlpha: byte = 255); overload; |
|
This item has no description. |
procedure DrawAngle(x,y,angleDeg: single; AHorizAlign: TAlignment; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure DrawAngle(x,y,angleDeg: single; AColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure DrawAngle(x,y,angleDeg: single; const imageCenter: TPointF; ARestoreOffsetAfterRotation: boolean; AAlpha: byte = 255); overload; |
|
This item has no description. |
procedure DrawAngle(x,y,angleDeg: single; const imageCenter: TPointF; ARestoreOffsetAfterRotation: boolean; AColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure DrawAngle(x,y,angleDeg: single; AAlpha: byte = 255); overload; |
|
This item has no description. |
procedure DrawQuad(const APoints3D: array of TPoint3D_128; const ATexCoords: array of TPointF); overload; |
|
This item has no description. |
procedure DrawQuad(const APoints3D: array of TPoint3D_128; const ATexCoords: array of TPointF; const AColors: array of TColorF); overload; |
|
This item has no description. |
procedure DrawQuad(const APoints: array of TPointF; const ATexCoords: array of TPointF); overload; |
|
This item has no description. |
procedure DrawQuad(const APoints: array of TPointF; const ATexCoords: array of TPointF; const AColors: array of TColorF); overload; |
|
This item has no description. |
procedure DrawQuad(const APoints3D: array of TPoint3D_128; const ANormals3D: array of TPoint3D_128; const ATexCoords: array of TPointF; const AColors: array of TColorF); overload; |
|
This item has no description. |
procedure DrawQuad(const APoints: array of TPointF; const APointsZ: array of Single; const ATexCoords: array of TPointF); overload; |
|
This item has no description. |
procedure DrawQuad(const APoints3D: array of TPoint3D_128; const ANormals3D: array of TPoint3D_128; const ATexCoords: array of TPointF); overload; |
|
This item has no description. |
procedure DrawQuad(const APoints: array of TPointF; const APointsZ: array of Single; const ATexCoords: array of TPointF; const AColors: array of TColorF); overload; |
|
This item has no description. |
procedure DrawTriangle(const APoints3D: array of TPoint3D_128; const ANormals3D: array of TPoint3D_128; const ATexCoords: array of TPointF); overload; |
|
This item has no description. |
procedure DrawTriangle(const APoints3D: array of TPoint3D_128; const ANormals3D: array of TPoint3D_128; const ATexCoords: array of TPointF; const AColors: array of TColorF); overload; |
|
This item has no description. |
procedure DrawTriangle(const APoints3D: array of TPoint3D_128; const ATexCoords: array of TPointF; const AColors: array of TColorF); overload; |
|
This item has no description. |
procedure DrawTriangle(const APoints: array of TPointF; const APointsZ: array of Single; const ATexCoords: array of TPointF); overload; |
|
This item has no description. |
procedure DrawTriangle(const APoints: array of TPointF; const APointsZ: array of Single; const ATexCoords: array of TPointF; const AColors: array of TColorF); overload; |
|
This item has no description. |
procedure DrawTriangle(const APoints: array of TPointF; const ATexCoords: array of TPointF); overload; |
|
This item has no description. |
procedure DrawTriangle(const APoints: array of TPointF; const ATexCoords: array of TPointF; const AColors: array of TColorF); overload; |
|
This item has no description. |
procedure DrawTriangle(const APoints3D: array of TPoint3D_128; const ATexCoords: array of TPointF); overload; |
|
This item has no description. |
procedure FreeMemory; |
|
This item has no description. |
procedure SetFrame(AIndex: integer); |
|
This item has no description. |
procedure SetFrameSize(x,y: integer); |
|
This item has no description. |
procedure SetGradientColors(ATopLeft, ATopRight, ABottomRight, ABottomLeft: TBGRAPixel); |
|
This item has no description. |
procedure StretchDraw(x,y,w,h: single; AColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure StretchDraw(x,y,w,h: single; AAlpha: byte = 255); overload; |
|
This item has no description. |
procedure StretchDraw(x,y,w,h: single; AHorizAlign: TAlignment; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure StretchDraw(x,y,w,h: single; AHorizAlign: TAlignment; AVertAlign: TTextLayout = tlTop; AAlpha: byte = 255); overload; |
|
This item has no description. |
procedure StretchDrawAngle(x,y,w,h,angleDeg: single; AColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure StretchDrawAngle(x,y,w,h,angleDeg: single; AHorizAlign: TAlignment; AVertAlign: TTextLayout = tlTop; AAlpha: byte = 255); overload; |
|
This item has no description. |
procedure StretchDrawAngle(x,y,w,h,angleDeg: single; AHorizAlign: TAlignment; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure StretchDrawAngle(x,y,w,h,angleDeg: single; AAlpha: byte = 255); overload; |
|
This item has no description. |
procedure StretchDrawAngle(x,y,w,h,angleDeg: single; const imageCenter: TPointF; ARestoreOffsetAfterRotation: boolean; AAlpha: byte = 255); overload; |
|
This item has no description. |
procedure StretchDrawAngle(x,y,w,h,angleDeg: single; const imageCenter: TPointF; ARestoreOffsetAfterRotation: boolean; AColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure ToggleFlipX; virtual; abstract; |
|
This item has no description. |
procedure ToggleFlipY; virtual; abstract; |
|
This item has no description. |
procedure ToggleMask; virtual; |
|
This item has no description. |
procedure Update(ARGBAData: PLongWord; AllocatedWidth, AllocatedHeight, ActualWidth,ActualHeight: integer; RGBAOrder: boolean = true); |
|
This item has no description. |
procedure ComputeOpenGLFramesCoord(ATexture: TBGLTextureHandle; FramesX: Integer=1; FramesY: Integer=1); virtual; abstract; |
|
This item has no description. |
procedure DoDrawAffine(Origin, HAxis, VAxis: TPointF; AColor: TBGRAPixel); virtual; abstract; |
|
This item has no description. |
procedure DoDrawTriangleOrQuad(const Points: array of TPointF; const APointsZ: array of Single; const APoints3D: array of TPoint3D_128; const ANormals3D: array of TPoint3D_128; const TexCoords: array of TPointF; const AColors: array of TColorF); virtual; |
|
This item has no description. |
procedure DoStretchDraw(x,y,w,h: single; AColor: TBGRAPixel); virtual; abstract; |
|
This item has no description. |
procedure DoStretchDrawAngle(x,y,w,h,angleDeg: single; rotationCenter: TPointF; AColor: TBGRAPixel); virtual; abstract; |
|
This item has no description. |
procedure FreeMemoryOnDestroy; virtual; |
|
This item has no description. |
procedure FreeOpenGLTexture(ATexture: TBGLTextureHandle); virtual; abstract; |
|
This item has no description. |
procedure Init(ATexture: TBGLTextureHandle; AWidth,AHeight: integer; AOwned: boolean); virtual; |
|
This item has no description. |
procedure InitEmpty; |
|
This item has no description. |
procedure InitFromData(ARGBAData: PLongWord; AllocatedWidth,AllocatedHeight, ActualWidth,ActualHeight: integer; RGBAOrder: boolean); |
|
This item has no description. |
procedure InitFromStream(AStream: TStream); |
|
This item has no description. |
procedure NotifyErrorLoadingFile(AFilename: string); virtual; |
|
This item has no description. |
procedure NotifyInvalidFrameSize; virtual; |
|
This item has no description. |
procedure SetOpenGLTextureSize(ATexture: TBGLTextureHandle; AAllocatedWidth, AAllocatedHeight, AActualWidth, AActualHeight: integer); virtual; abstract; |
|
This item has no description. |
procedure SetUseGradientColors(AValue: boolean); virtual; |
|
This item has no description. |
procedure UpdateGLResampleFilter(ATexture: TBGLTextureHandle; AFilter: TOpenGLResampleFilter); virtual; abstract; |
|
This item has no description. |
procedure UpdateOpenGLTexture(ATexture: TBGLTextureHandle; ARGBAData: PLongWord; AAllocatedWidth, AAllocatedHeight, AActualWidth,AActualHeight: integer; RGBAOrder: boolean); virtual; abstract; |
|
This item has no description. |
Properties
property BlendMode: TOpenGLBlendMode read GetOpenGLBlendMode write SetOpenGLBlendMode; |
|
This item has no description. |
property FlipX: IBGLTexture read GetFlipX; |
|
This item has no description. |
property FlipY: IBGLTexture read GetFlipY; |
|
This item has no description. |
property Frame[AIndex: integer]: IBGLTexture read GetFrame; |
|
This item has no description. |
property FrameCount: integer read GetFrameCount; |
|
This item has no description. |
property FrameHeight: integer read GetFrameHeight; |
|
This item has no description. |
property FrameWidth: integer read GetFrameWidth; |
|
This item has no description. |
property GradientColors: boolean read GetUseGradientColors write SetUseGradientColors; |
|
This item has no description. |
property Handle: TBGLTextureHandle read GetOpenGLTexture; |
|
This item has no description. |
property Height: integer read GetHeight; |
|
This item has no description. |
property Mask: IBGLTexture read GetMask; |
|
This item has no description. |
property ResampleFilter: TOpenGLResampleFilter read GetResampleFilter write SetResampleFilter; |
|
This item has no description. |
property Width: integer read GetWidth; |
|
This item has no description. |