Table of Contents

Class BackgroundRenderFeature

Namespace
Stride.Rendering.Background
Assembly
Stride.Rendering.dll
public class BackgroundRenderFeature : RootRenderFeature, IComponent, IReferencable, ICollectorHolder, IGraphicsRendererCore, IDisposable
Inheritance
BackgroundRenderFeature
Implements
Inherited Members
Extension Methods

Constructors

BackgroundRenderFeature()

public BackgroundRenderFeature()

Properties

SupportedRenderObjectType

Gets the type of render object supported by this RootRenderFeature.

public override Type SupportedRenderObjectType { get; }

Property Value

Type

Methods

Draw(RenderDrawContext, RenderView, RenderViewStage, int, int)

Performs GPU updates and/or draw.

public override void Draw(RenderDrawContext context, RenderView renderView, RenderViewStage renderViewStage, int startIndex, int endIndex)

Parameters

context RenderDrawContext
renderView RenderView
renderViewStage RenderViewStage
startIndex int
endIndex int

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