Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    GraphicsDeviceStatus Enum

    Namespace: Stride.Graphics
    Assembly: Stride.Graphics.dll

    Describes the current status of a GraphicsDevice.

    public enum GraphicsDeviceStatus

    Fields

    Name Description
    Hung

    The application's device failed due to badly formed commands sent by the application. This is an design-time issue that should be investigated and fixed.

    InternalError

    The driver encountered a problem and was put into the device removed state.

    InvalidCall

    The application provided invalid parameter data; this must be debugged and fixed before the application is released.

    Normal

    The device is running fine.

    Removed

    The video card has been physically removed from the system, or a driver upgrade for the video card has occurred. The application should destroy and recreate the device.

    Reset

    The device failed due to a badly formed command. This is a run-time issue; The application should destroy and recreate the device.

    Extension Methods

    ComponentBaseExtensions.DisposeBy<GraphicsDeviceStatus>(ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<GraphicsDeviceStatus>(ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation