Table of Contents

Enum GraphicsResourceLifetimeState

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

Describes the lifetime state of a graphics resource.

public enum GraphicsResourceLifetimeState

Fields

Active = 0

Resource is active and available for use.

Destroyed = 2

Resource has been destroyed due to graphics device being destroyed. It will need to be recreated or reloaded when rendering resume.

Paused = 1

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 FBO, that could be easily restored when application is resumed.