Class PostProcessingGraphRenderer
Renders a post-processing graph on the screen.
Inheritance
Implements
Inherited Members
Namespace: Evergine.Components.Graphics3D
Assembly: Evergine.Components.dll
Syntax
public class PostProcessingGraphRenderer : Drawable3D, IDependencyObject
Constructors
PostProcessingGraphRenderer()
Initializes a new instance of the PostProcessingGraphRenderer class.
Declaration
public PostProcessingGraphRenderer()
Fields
Transform3D
Required Transform3D.
Declaration
[BindComponent(true, true, BindComponentSource.Owner, null, true)]
protected Transform3D Transform3D
Field Value
Type | Description |
---|---|
Transform3D |
assetsService
The Asset Service.
Declaration
[BindService(true)]
protected AssetsService assetsService
Field Value
Type | Description |
---|---|
AssetsService |
collider
Required Collider3D.
Declaration
[BindComponent(true, false, BindComponentSource.Owner, null, true)]
protected BoxCollider3D collider
Field Value
Type | Description |
---|---|
BoxCollider3D |
graphicsContext
The Graphics Context.
Declaration
[BindService(true)]
protected GraphicsContext graphicsContext
Field Value
Type | Description |
---|---|
GraphicsContext |
Properties
IsGlobal
Gets or sets a value indicating whether the post-processing graph is applied to whole cameras or only the cameras inside its volume.
Declaration
public bool IsGlobal { get; set; }
Property Value
Type | Description |
---|---|
bool |
LayerOrder
Gets or sets the type of the layer.
Declaration
public int LayerOrder { get; set; }
Property Value
Type | Description |
---|---|
int |
ppGraph
Gets or sets the post-processing graph.
Declaration
public PostProcessingGraph ppGraph { get; set; }
Property Value
Type | Description |
---|---|
PostProcessingGraph |
Methods
Draw(DrawContext)
Allows custom drawing.
Declaration
public override void Draw(DrawContext drawContext)
Parameters
Type | Name | Description |
---|---|---|
DrawContext | drawContext | The draw context. |
Overrides
Remarks
This method will only be called if all the following points are true:
OnActivated()
Invoked when the object is activated once it is attached.
Declaration
protected override void OnActivated()
Overrides
OnAttached()
Invoked when the object is attached to the system.
Declaration
protected override bool OnAttached()
Returns
Type | Description |
---|---|
bool | True if everything is OK. |
Overrides
OnDeactivated()
Invoked when the object is deactivated.
Declaration
protected override void OnDeactivated()
Overrides
OnDestroy()
Invoked when the object is about to be disposed.
Declaration
protected override void OnDestroy()
Overrides
OnDetach()
Invoked when the object is detached.
Declaration
protected override void OnDetach()
Overrides
OnLoaded()
Invoked when the object is loaded.
Declaration
protected override void OnLoaded()