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 Assets Service.
Declaration
[BindService(true)]
protected AssetsService assetsService
Field Value
Type | Description |
---|---|
AssetsService |
collider
Required Evergine.Framework.Physics3D.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 of 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 to perform 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:
- The entity passes the culling test.
- The parent of the owner Evergine.Framework.Entity of the Evergine.Framework.Drawable cascades its visibility to its children and it is visible.
- The Evergine.Framework.Drawable is active.
- The owner Evergine.Framework.Entity of the Evergine.Framework.Drawable is active and visible.
OnActivated()
Invoked when the object is activated once 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 all is OK. |
Overrides
OnDeactivated()
Invoked when the object is deactivated.
Declaration
protected override void OnDeactivated()
Overrides
OnDestroy()
Invoked when the object is going 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()