Table of Contents

Class MeshVelocityRenderFeature

Namespace
Stride.Rendering
Assembly
Stride.Rendering.dll

Output per-pixel motion vectors to a separate render target

[DataContract(DefaultMemberMode = DataMemberMode.Never)]
public class MeshVelocityRenderFeature : SubRenderFeature, IComponent, IReferencable, ICollectorHolder, IGraphicsRendererCore, IDisposable
Inheritance
MeshVelocityRenderFeature
Implements
Inherited Members
Extension Methods

Fields

TransformRenderFeature

public TransformRenderFeature TransformRenderFeature

Field Value

TransformRenderFeature

Methods

InitializeCore()

Initializes this instance. Query for specific cbuffer (either new one, like PerMaterial, or parts of an existing one, like PerObject=>Skinning)

protected override void InitializeCore()

Prepare(RenderDrawContext)

Performs most of the work (computation and resource preparation). Later game simulation might be running during that step.

public override void Prepare(RenderDrawContext context)

Parameters

context RenderDrawContext

PrepareEffectPermutations(RenderDrawContext)

Perform effect permutations, before Prepare(RenderDrawContext).

public override void PrepareEffectPermutations(RenderDrawContext context)

Parameters

context RenderDrawContext