Class TBGLBlurShader
Unit
Declaration
type TBGLBlurShader = class(TBGLShader3D)
Description
Shader computing a blurred image
Hierarchy
- TObject
- TBGLCustomShader
- TBGLShader3D
- TBGLBlurShader
Overview
Fields
FBlurType: TRadialBlurType; |
|
FDirection: TUniformVariablePointF; |
|
FImageIndex: TUniformVariableInteger; |
|
FRadius: TUniformVariableSingle; |
|
FTextureSize: TUniformVariablePoint; |
Methods
constructor Create(ACanvas: TBGLCustomCanvas; ABlurType: TRadialBlurType); |
|
function FilterBlurMotion(ATexture: IBGLTexture; ADirection: TPointF): IBGLTexture; overload; |
|
function FilterBlurMotion(ATexture: IBGLTexture): IBGLTexture; overload; |
|
function FilterBlurRadial(ATexture: IBGLTexture): IBGLTexture; |
|
procedure StartUse; override; |
Properties
property BlurType: TRadialBlurType read FBlurType; |
|
property Direction: TPointF read GetDirection write SetDirection; |
|
property ImageIndex: integer read GetImageIndex write SetImageIndex; |
|
property Radius: Single read GetRadius write SetRadius; |
|
property TextureSize: TPoint read GetTextureSize write SetTextureSize; |
Description
Fields
FBlurType: TRadialBlurType; |
|
This item has no description. |
FDirection: TUniformVariablePointF; |
|
This item has no description. |
FImageIndex: TUniformVariableInteger; |
|
This item has no description. |
FRadius: TUniformVariableSingle; |
|
This item has no description. |
FTextureSize: TUniformVariablePoint; |
|
This item has no description. |
Methods
constructor Create(ACanvas: TBGLCustomCanvas; ABlurType: TRadialBlurType); |
|
This item has no description. |
function FilterBlurMotion(ATexture: IBGLTexture; ADirection: TPointF): IBGLTexture; overload; |
|
This item has no description. |
function FilterBlurMotion(ATexture: IBGLTexture): IBGLTexture; overload; |
|
This item has no description. |
function FilterBlurRadial(ATexture: IBGLTexture): IBGLTexture; |
|
This item has no description. |
procedure StartUse; override; |
|
This item has no description. |
Properties
property BlurType: TRadialBlurType read FBlurType; |
|
This item has no description. |
property Direction: TPointF read GetDirection write SetDirection; |
|
This item has no description. |
property ImageIndex: integer read GetImageIndex write SetImageIndex; |
|
This item has no description. |
property Radius: Single read GetRadius write SetRadius; |
|
This item has no description. |
property TextureSize: TPoint read GetTextureSize write SetTextureSize; |
|
This item has no description. |