Gorilla.Controller.Passes.Bokeh
Unit Gorilla.Controller.Passes.Bokeh.pasClasses
- TBokehMaterial = class ( TGorillaRenderPassMaterial )
- TBokehMaterialSource = class ( TGorillaRenderPassMaterialSource )
- TGorillaRenderPassBokeh = class ( TGorillaRenderPassController )
Enumerations
- enum TGorillaBokehType = ( btDefault, btGlow ) ;
Constants
TBokehMaterial
Ancestors
Members
Fields
- protected FFocalDepth :
Single
- protected FFocalLength :
Single
- protected FVignette :
Single
- protected FVignetteFade :
Single
- protected FFrustumNearFar :
TPointF
- protected FBlurSamples :
Integer
- protected FBlurRings :
Integer
- protected FShowFocus :
Boolean
- protected FAutoFocus :
Boolean
Methods
- public constructor Create ( const ASource : TBokehMaterialSource ) ;
- public destructor Destroy ( ) ;
- protected procedure SetBlurSamples ( AValue : Integer ) ;
- protected procedure SetBlurRings ( AValue : Integer ) ;
- protected procedure DoApply ( const Context : TContext3D ) ; override;
- protected procedure DoInitialize ( ) ; override;
Properties
TBokehMaterialSource
Ancestors
Members
Fields
Methods
- public constructor Create ( AOwnerPass : TGorillaRenderPassController ) ;
- public destructor Destroy ( ) ;
- protected function CreateMaterial ( ) : TMaterial ; override;
- protected procedure DoPassesChanged ( Sender : TObject ) ; override;
- protected procedure ContextResetHandlerOverride ( const Sender : TObject; const Msg : TMessageBase ) ;
TGorillaRenderPassBokeh
Ancestors
Members
Fields
Methods
- public constructor Create ( AOwner : TComponent; const AId : string = Bokeh ) ;
- public destructor Destroy ( ) ;
- protected function GetAutoFocus ( ) : Boolean ;
- protected function GetFocalDepth ( ) : Single ;
- protected function GetFocalLength ( ) : Single ;
- protected function GetFrustumNearFar ( ) : TPointF ;
- protected function GetVignette ( ) : Single ;
- protected function GetVignetteFade ( ) : Single ;
- protected function GetBlurSamples ( ) : Integer ;
- protected function GetBlurRings ( ) : Integer ;
- protected function GetShowFocus ( ) : Boolean ;
- protected procedure SetAutoFocus ( const AValue : Boolean ) ;
- protected procedure SetFocalDepth ( const AValue : Single ) ;
- protected procedure SetFocalLength ( const AValue : Single ) ;
- protected procedure SetFrustumNearFar ( const AValue : TPointF ) ;
- protected procedure SetVignette ( const AValue : Single ) ;
- protected procedure SetVignetteFade ( const AValue : Single ) ;
- protected procedure SetBlurSamples ( const AValue : Integer ) ;
- protected procedure SetBlurRings ( const AValue : Integer ) ;
- protected procedure SetShowFocus ( const AValue : Boolean ) ;
- protected procedure DoSetupTexturesByViewport ( const AContext : TContext3D; const AWidth : Integer; const AHeight : Integer ) ; override;
- protected procedure DoCreateRenderer ( ) ; override;
- protected procedure DoOnBeginRenderPassSetup ( const ACount : Integer; const APass : TRenderPass ) ; override;
- protected procedure DoOnEndRenderPassSetup ( const ACount : Integer; const APass : TRenderPass ) ; override;
- protected function CreateMaterialSource ( ) : TGorillaRenderPassMaterialSource ; override;
- protected procedure DefineProperties ( Filer : TFiler ) ; override;
- protected procedure ReadFrustumNearFar ( Reader : TReader ) ;
- protected procedure WriteFrustumNearFar ( Writer : TWriter ) ;
- public procedure AfterConstruction ( ) ; override;
- public function GetOutputTexture ( ) : TTexture ; override;
Properties
- published FocalDepth : Single
- published FocalLength : Single
- published Vignette : Single
- published VignetteFade : Single
- published FrustumNearFar : TPointF
Get or set frustum limits for near and far value as TPointF structure. This value is stored as "FrustumNearFarPoint" in DFM file.
read GetFrustumNearFar
write SetFrustumNearFar - published BlurSamples : Integer
- published BlurRings : Integer
- published ShowFocus : Boolean
- published AutoFocus : Boolean
- published BokehType : TGorillaBokehType