Gorilla.Controller.Passes.Geometry
Unit Gorilla.Controller.Passes.Geometry.pasClasses
- TGorillaGeometryMaterial = class ( TGorillaRenderPassMaterial )
- TGorillaGeometryMaterialSource = class ( TGorillaRenderPassMaterialSource )
- TGorillaRenderPassGeometry = class ( TGorillaRenderPassController )
TGorillaGeometryMaterial
Ancestors
Members
Fields
Methods
- public constructor Create ( const ASource : TGorillaGeometryMaterialSource ) ;
- public destructor Destroy ( ) ;
- protected procedure SetGeometryTexture ( const AValue : TTexture ) ; virtual;
- protected procedure DoApply ( const Context : TContext3D ) ; override;
- protected procedure DoInitialize ( ) ; override;
Properties
TGorillaGeometryMaterialSource
Ancestors
Members
TGorillaRenderPassGeometry
Ancestors
Members
Fields
- protected FDepthTexture :
TGorillaTextureBitmap
- protected FLimits :
TPointF
- protected FPrevCameraView :
TMatrix3D
- protected FCubeSide :
TGorillaGeometryCubeSide
- protected FHighPrecision :
Boolean
- protected FStaticGeometryBox :
Boolean
- protected FBaseCubeMatrices :
- protected FViewCubeMatrices :
- protected FViewTextureBack :
TGorillaTextureBitmap
- protected FViewTextureLeft :
TGorillaTextureBitmap
- protected FViewTextureRight :
TGorillaTextureBitmap
- protected FViewTextureTop :
TGorillaTextureBitmap
- protected FViewTextureBottom :
TGorillaTextureBitmap
- protected FViewTextureOriginal :
TGorillaTextureBitmap
Methods
- public constructor Create ( AOwner : TComponent; const AId : string = Geometry ) ;
- public destructor Destroy ( ) ;
- protected function GetCubeTexture ( AIndex : TGorillaGeometryCubeSide ) : TTexture ; virtual;
- protected function GetDepthTexture ( ) : TTexture ; virtual;
- protected function GetViewCubeMatrix ( AIndex : TGorillaGeometryCubeSide ) : TMatrix3D ; virtual;
- protected procedure SetHighPrecision ( const AValue : Boolean ) ; virtual;
- protected function CreateMaterialSource ( ) : TGorillaRenderPassMaterialSource ; override;
- 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 function GetViewMatrix ( const AContext : TContext3D ) : TMatrix3D ; override;
- public function GetCurrentRenderTarget ( ) : TRenderTarget ;
Properties
- public CubeTexture[Index] : TTexture
- public DepthTexture : TTexture
- public ViewCubeMatrices[Index] : TMatrix3D
- published HighPrecision : Boolean
Get or set high precision mode. This will generate an RGBA16F or RGBA32F texture. Lower precision means higher performance.
read FHighPrecision
write SetHighPrecision - published StaticGeometryBox : Boolean
Switch between two geometry capturing processes. The static geometry box uses 6 fixed camera views to capture all contained vertices (axis-aligned). The "unstatic" box builds a box from current camera view by transforming it.
read FStaticGeometryBox
write FStaticGeometryBox - published Limits : TPointF