Table of Contents

Class FrameGraphExecutionContext

Namespace
BSGameLib.Game.Rendering
Assembly
BSGameLib.Game.dll

The services, render factories and resource allocator a FrameGraph runs its passes with.

public sealed class FrameGraphExecutionContext
Inheritance
FrameGraphExecutionContext
Inherited Members

Properties

Empty

A context with no render context factory, no resource allocator and no services. Passes that draw or acquire targets need a context made by the frame.

public static FrameGraphExecutionContext Empty { get; }

Property Value

FrameGraphExecutionContext

RenderContextFactory

The factory the passes draw through. Null in Empty.

public IRenderContextFactory RenderContextFactory { get; }

Property Value

IRenderContextFactory

Services

The services available to the passes. Never null: in Empty every lookup returns null.

public IServiceProvider Services { get; }

Property Value

IServiceProvider