Table of Contents

Enum GraphicsResourceLifetimeState

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

Describes the lifetime state of a graphics resource.

public enum GraphicsResourceLifetimeState
Extension Methods

Fields

Active = 0

The resource is active and available for use.

Destroyed = 2

The resource has been destroyed due to the graphics device being destroyed. It will need to be recreated or reloaded when rendering resumes.

Paused = 1

The resource is in a reduced state (partially or completely destroyed) because application is in the background. Context should still be alive.

This is useful for freeing dynamic resources such as Frame Buffers / Render Targets, that could be easily restored when application is resumed.