Class PostProcessingGraphProcessor
Represents the post-processing graph processor.
Inherited Members
Namespace: Evergine.Framework.Graphics
Assembly: Evergine.Framework.dll
Syntax
public class PostProcessingGraphProcessor : MeshProcessor
Constructors
PostProcessingGraphProcessor()
Initializes a new instance of the PostProcessingGraphProcessor class.
Declaration
public PostProcessingGraphProcessor()
Fields
AnySuperResolutionNode
Indicates whether there is any FidelityFX node in the post-processing.
Declaration
public bool AnySuperResolutionNode
Field Value
Type | Description |
---|---|
bool |
AnyTAANode
Indicates whether there is any TAA node in the post-processing.
Declaration
public bool AnyTAANode
Field Value
Type | Description |
---|---|
bool |
Batches
The post-processing settings dictionary by draw context.
Declaration
public PostProcessingGraphBatch[] Batches
Field Value
Type | Description |
---|---|
PostProcessingGraphBatch[] |
Properties
Priority
Gets the priority of this processor. Processors with higher values are executed earlier.
Declaration
public override float Priority { get; }
Property Value
Type | Description |
---|---|
float |
Overrides
Methods
CouldBatch(RenderObjectInfo, RenderObjectInfo)
Compares whether this processor can batch these two meshes.
Declaration
public override bool CouldBatch(RenderObjectInfo renderObjectInfo1, RenderObjectInfo renderObjectInfo2)
Parameters
Type | Name | Description |
---|---|---|
RenderObjectInfo | renderObjectInfo1 | The first object. |
RenderObjectInfo | renderObjectInfo2 | The second object. |
Returns
Type | Description |
---|---|
bool | True if the batch is possible. |
Overrides
CouldRenderObject(RenderObjectInfo)
Can render a single render object.
Declaration
public override bool CouldRenderObject(RenderObjectInfo renderObjectInfo)
Parameters
Type | Name | Description |
---|---|---|
RenderObjectInfo | renderObjectInfo | The render object info. |
Returns
Type | Description |
---|---|
bool | True if this mesh processor can render an object. |
Overrides
Destroy()
Destroys this instance.
Declaration
protected override void Destroy()
Overrides
EmitBatch(int, int, DrawContext, RenderObjectInfoAccessor)
Emit a render batch.
Declaration
public override RenderUnit EmitBatch(int startIndex, int elementCount, DrawContext drawContext, MeshProcessor.RenderObjectInfoAccessor renderObjectInfoAccessor)
Parameters
Type | Name | Description |
---|---|---|
int | startIndex | Start mesh index. |
int | elementCount | Number of elements in this batch. |
DrawContext | drawContext | The draw context. |
MeshProcessor.RenderObjectInfoAccessor | renderObjectInfoAccessor | Function to obtain the renderObjectInfo by its index. |
Returns
Type | Description |
---|---|
RenderUnit | Id of this batch inside the mesh processor. |
Overrides
Reset()
Resets processors to be ready for batch processing.
Declaration
public override void Reset()