Enum GraphicsResourceLifetimeState
Describes the lifetime state of a graphics resource.
public enum GraphicsResourceLifetimeState
- Extension Methods
Fields
Active = 0The resource is active and available for use.
Destroyed = 2The resource has been destroyed due to the graphics device being destroyed. It will need to be recreated or reloaded when rendering resumes.
Paused = 1The 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.