Class TScreenEffectNode

Unit

Declaration

type TScreenEffectNode = class(TAbstractChildNode)

Description

Screen-space shader effect. See https://castle-engine.io/x3d_extensions_screen_effects.php .

Hierarchy

Overview

Methods

Protected function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override;
Public constructor Create(const AX3DName: String = ''; const ABaseUrl: String = ''); override;
Public destructor Destroy; override;
Public procedure CreateNode; override;
Public class function ClassX3DType: string; override;
Public procedure SetShaders(const Value: array of TAbstractShaderNode);

Properties

Public property Shader: TObject read FShader write FShader;
Public property ShaderLoaded: boolean read FShaderLoaded write FShaderLoaded;
Public property StateForShaderPrepare: TX3DGraphTraverseState read FStateForShaderPrepare;
Public property FdEnabled: TSFBool read FFdEnabled;
Public property Enabled: Boolean read GetEnabled write SetEnabled;
Public property FdNeedsDepth: TSFBool read FFdNeedsDepth;
Public property NeedsDepth: Boolean read GetNeedsDepth write SetNeedsDepth;
Public property FdShaders: TMFNode read FFdShaders;

Description

Methods

Protected function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override;
 
Public constructor Create(const AX3DName: String = ''; const ABaseUrl: String = ''); override;
 
Public destructor Destroy; override;
 
Public procedure CreateNode; override;
 
Public class function ClassX3DType: string; override;
 
Public procedure SetShaders(const Value: array of TAbstractShaderNode);
 

Properties

Public property Shader: TObject read FShader write FShader;

Shader and ShaderLoaded properties are internally managed by the renderer. Right now, this means TCastleScene. Always when ShaderLoaded = False then Shader is Nil. When ShaderLoaded = True, the Shader may be non-nil (if was enabled and loaded successfully) or not.

Public property ShaderLoaded: boolean read FShaderLoaded write FShaderLoaded;
 
Public property StateForShaderPrepare: TX3DGraphTraverseState read FStateForShaderPrepare;
 
Public property FdEnabled: TSFBool read FFdEnabled;

Internal wrapper for property Enabled. This wrapper API may change, we advise to access simpler Enabled instead.

Public property Enabled: Boolean read GetEnabled write SetEnabled;
 
Public property FdNeedsDepth: TSFBool read FFdNeedsDepth;

Internal wrapper for property NeedsDepth. This wrapper API may change, we advise to access simpler NeedsDepth instead.

Public property NeedsDepth: Boolean read GetNeedsDepth write SetNeedsDepth;
 
Public property FdShaders: TMFNode read FFdShaders;

Internal wrapper for property Shaders. This wrapper API may change, we advise to access simpler Shaders instead.


Generated by PasDoc 0.16.0.