Class TBGLBlurShader

Unit

Declaration

type TBGLBlurShader = class(TBGLShader3D)

Description

Shader computing a blurred image

Hierarchy

Overview

Fields

Protected FBlurType: TRadialBlurType;
Protected FDirection: TUniformVariablePointF;
Protected FImageIndex: TUniformVariableInteger;
Protected FRadius: TUniformVariableSingle;
Protected FTextureSize: TUniformVariablePoint;

Methods

Public constructor Create(ACanvas: TBGLCustomCanvas; ABlurType: TRadialBlurType);
Public function FilterBlurMotion(ATexture: IBGLTexture; ADirection: TPointF): IBGLTexture; overload;
Public function FilterBlurMotion(ATexture: IBGLTexture): IBGLTexture; overload;
Public function FilterBlurRadial(ATexture: IBGLTexture): IBGLTexture;
Protected procedure StartUse; override;

Properties

Public property BlurType: TRadialBlurType read FBlurType;
Public property Direction: TPointF read GetDirection write SetDirection;
Public property ImageIndex: integer read GetImageIndex write SetImageIndex;
Public property Radius: Single read GetRadius write SetRadius;
Public property TextureSize: TPoint read GetTextureSize write SetTextureSize;

Description

Fields

Protected FBlurType: TRadialBlurType;

This item has no description.

Protected FDirection: TUniformVariablePointF;

This item has no description.

Protected FImageIndex: TUniformVariableInteger;

This item has no description.

Protected FRadius: TUniformVariableSingle;

This item has no description.

Protected FTextureSize: TUniformVariablePoint;

This item has no description.

Methods

Public constructor Create(ACanvas: TBGLCustomCanvas; ABlurType: TRadialBlurType);

This item has no description.

Public function FilterBlurMotion(ATexture: IBGLTexture; ADirection: TPointF): IBGLTexture; overload;

This item has no description.

Public function FilterBlurMotion(ATexture: IBGLTexture): IBGLTexture; overload;

This item has no description.

Public function FilterBlurRadial(ATexture: IBGLTexture): IBGLTexture;

This item has no description.

Protected procedure StartUse; override;

This item has no description.

Properties

Public property BlurType: TRadialBlurType read FBlurType;

This item has no description.

Public property Direction: TPointF read GetDirection write SetDirection;

This item has no description.

Public property ImageIndex: integer read GetImageIndex write SetImageIndex;

This item has no description.

Public property Radius: Single read GetRadius write SetRadius;

This item has no description.

Public property TextureSize: TPoint read GetTextureSize write SetTextureSize;

This item has no description.