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
GameThe game instance used to access necessary services and contexts.
Properties
GraphicsDevice
Gets the graphics device.
public GraphicsDevice GraphicsDevice { get; }
Property Value
RenderContext
Gets the render context.
public RenderContext RenderContext { get; }
Property Value
RenderDrawContext
Gets the render draw context.
public RenderDrawContext RenderDrawContext { get; }
Property Value
Services
Gets the service registry.
public IServiceRegistry Services { get; }