Gorilla.Controller.Passes.CustomDepth
Unit Gorilla.Controller.Passes.CustomDepth.pasClasses
- TCustomDepthMaterial = class ( TGorillaRenderPassMaterial )
- TCustomDepthMaterialSource = class ( TGorillaRenderPassMaterialSource )
- TGorillaRenderPassCustomDepth = class ( TGorillaRenderPassController )
Enumerations
- enum TDepthMethod = ( dmDefault, dmMVPPosZ, dmModelViewPosZ ) ;
Constants
TCustomDepthMaterial
Ancestors
Members
Fields
- protected FDepthMethod :
TDepthMethod
- protected FVertexShaderMVZ :
TContextShader
- protected FVertexShaderMVPZ :
TContextShader
- protected FPixelShaderZ :
TContextShader
Methods
- public constructor Create ( ASource : TCustomDepthMaterialSource ) ;
- public destructor Destroy ( ) ;
- protected procedure DoApply ( const Context : TContext3D ) ; override;
- protected procedure DoInitialize ( ) ; override;
Properties
TCustomDepthMaterialSource
Ancestors
Members
Methods
- public constructor Create ( AOwnerPass : TGorillaRenderPassController ) ;
- public destructor Destroy ( ) ;
- protected function GetDepthMethod ( ) : TDepthMethod ;
- protected procedure SetDepthMethod ( const AValue : TDepthMethod ) ;
- protected function CreateMaterial ( ) : TMaterial ; override;
- protected procedure DoPassesChanged ( Sender : TObject ) ; override;
Properties
TGorillaRenderPassCustomDepth
Ancestors
Members
Fields
Methods
- public constructor Create ( AOwner : TComponent; const AId : string = CustomDepth ) ;
- public destructor Destroy ( ) ;
- protected function CreateMaterialSource ( ) : TGorillaRenderPassMaterialSource ; override;
- protected function GetDepthMethod ( ) : TDepthMethod ;
- protected procedure SetDepthMethod ( const AValue : TDepthMethod ) ;
- protected function GetMapSize ( ) : TPoint ;
- protected procedure SetMapSize ( AValue : TPoint ) ;
- protected procedure DoCreateRenderer ( ) ; override;
- protected procedure DoOnCreateCompositeTexture ( ASender : TObject; const ASize : TPoint; const AScale : Single; out ATexture : TGorillaTextureBitmap ) ; override;
- protected procedure DoOnBeginRenderPassSetup ( const ACount : Integer; const APass : TRenderPass ) ; override;
- protected procedure DoOnEndRenderPassSetup ( const ACount : Integer; const APass : TRenderPass ) ; override;
- protected procedure DoSetupTexturesByViewport ( const AContext : TContext3D; const AWidth : Integer; const AHeight : Integer ) ; override;
- public procedure AfterConstruction ( ) ; override;
- public function GetViewMatrix ( const AContext : TContext3D ) : TMatrix3D ; overload override;
- public function GetProjectionMatrix ( const AContext : TContext3D ) : TMatrix3D ; overload override;
- public procedure SetupMatrices ( const AContext : TContext3D ) ; virtual;
- public function GetOutputTexture ( ) : TTexture ; override;
- public function GetTextureMatrix ( AContext : TContext3D; const AUseBias : Boolean = True ) : TMatrix3D ; override;