Table of Contents

Class SkyboxGeneratorContext

Namespace
Stride.CommunityToolkit.Skyboxes
Assembly
Stride.CommunityToolkit.Skyboxes.dll

Provides context for generating a skybox by encapsulating relevant services and rendering contexts.

public class SkyboxGeneratorContext : ShaderGeneratorContext, IDisposable, IComponent, IReferencable, ICollectorHolder
Inheritance
SkyboxGeneratorContext
Implements
Inherited Members

Remarks

This class is a simplified version tailored for code-only usage, inspired by the more complex SkyboxGeneratorContext class in the Stride.Assets.Skyboxes namespace.

Constructors

SkyboxGeneratorContext(Game)

Initializes a new instance of the SkyboxGeneratorContext class using the provided game instance.

public SkyboxGeneratorContext(Game game)

Parameters

game Game

The game instance used to access necessary services and contexts.

Properties

GraphicsDevice

Gets the graphics device.

public GraphicsDevice GraphicsDevice { get; }

Property Value

GraphicsDevice

RenderContext

Gets the render context.

public RenderContext RenderContext { get; }

Property Value

RenderContext

RenderDrawContext

Gets the render draw context.

public RenderDrawContext RenderDrawContext { get; }

Property Value

RenderDrawContext

Services

Gets the service registry.

public IServiceRegistry Services { get; }

Property Value

IServiceRegistry