Gorilla.Controller.Passes.Refraction
Unit Gorilla.Controller.Passes.Refraction.pasClasses
- TGorillaRenderPassRefraction = class ( TGorillaRenderPassController )
TGorillaRenderPassRefraction
Ancestors
Members
Fields
- protected FDepthTexture :
TGorillaTextureBitmap
- 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 GetOutputDepthTexture ( ) : TTexture ;
- protected procedure DoSetupTexturesByViewport ( const AContext : TContext3D; const AWidth : Integer; const AHeight : Integer ) ; override;
- protected procedure DoOnRenderPass ( const AContext : TContext3D; const ACount : Integer; const AState : TRenderPassEventState; const APass : TRenderPass ) ; override;
- protected procedure SetupMatrices ( const AContext : TContext3D ) ; 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