Gorilla.Controller.Passes.Refraction
Unit Gorilla.Controller.Passes.Refraction.pasClasses
- TGorillaRenderPassRefraction = class ( TGorillaRenderPassController )
TGorillaRenderPassRefraction
Ancestors
Members
Fields
- protected FClippingEnabled :
Boolean
- protected FSurfacePosition :
TPoint3D
- protected FSurfaceNormal :
TPoint3D
- protected FSurfaceSize :
Single
Methods
- public constructor Create ( AOwner : TComponent; const AId : string = Refraction ) ;
- public destructor Destroy ( ) ;
- protected function CreateMaterialSource ( ) : TGorillaRenderPassMaterialSource ; override;
- protected function GetOutputTexture ( ) : TTexture ; override;
- protected function GetOutputDepthTexture ( ) : TTexture ; virtual;
- protected procedure DoSetupTexturesByViewport ( const AContext : TContext3D; const AWidth : Integer; const AHeight : Integer ) ; override;
- protected procedure DoOnBeginRenderPassSetup ( const ACount : Integer; const APass : TRenderPass ) ; override;
- protected procedure DoOnEndRenderPassSetup ( const ACount : Integer; const APass : TRenderPass ) ; override;
- protected procedure SetupMatrices ( ) ; virtual;
- public function GetTextureMatrix ( AContext : TContext3D; const AUseBias : Boolean = False ) : TMatrix3D ; override;
Properties
- public OutputDepthTexture : TTexture
- published SurfacePosition : TPoint3D
- published SurfaceNormal : TPoint3D
- published SurfaceSize : Single
Get or set the size of the quadratic refraction clipping surface.
read FSurfaceSize
write FSurfaceSize - published ClippingEnabled : Boolean