Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    GraphicsDeviceInformation Class

    Namespace: Stride.Games
    Assembly: Stride.Games.dll
    System.Object → GraphicsDeviceInformation
    Derived from GraphicsDeviceInformation:

    public class GraphicsDeviceInformation : IEquatable<GraphicsDeviceInformation>
    Name Description
    Constructors
    GraphicsDeviceInformation()

    Initializes a new instance of the GraphicsDeviceInformation class.

    Properties
    Adapter

    Gets or sets the adapter.

    DeviceCreationFlags

    Gets or sets the creation flags.

    GraphicsProfile

    Gets or sets the graphics profile.

    PresentationParameters

    Gets or sets the presentation parameters.

    Methods
    Clone()

    Clones this instance.

    Equals(GraphicsDeviceInformation)
    Equals(Object)
    GetHashCode()
    Operators
    Equality(GraphicsDeviceInformation, GraphicsDeviceInformation)
    Inequality(GraphicsDeviceInformation, GraphicsDeviceInformation)
    | Improve this Doc View Source

    Constructors


    GraphicsDeviceInformation()

    Initializes a new instance of the GraphicsDeviceInformation class.

    public GraphicsDeviceInformation()
    | Improve this Doc View Source

    Properties


    Adapter

    Gets or sets the adapter.

    public GraphicsAdapter Adapter { get; set; }
    Property Value
    Type Description
    GraphicsAdapter

    The adapter.

    Exceptions
    Type Condition
    System.ArgumentNullException

    if value is null


    DeviceCreationFlags

    Gets or sets the creation flags.

    public DeviceCreationFlags DeviceCreationFlags { get; set; }
    Property Value
    Type Description
    DeviceCreationFlags

    The creation flags.


    GraphicsProfile

    Gets or sets the graphics profile.

    public GraphicsProfile GraphicsProfile { get; set; }
    Property Value
    Type Description
    GraphicsProfile

    The graphics profile.

    Exceptions
    Type Condition
    System.ArgumentNullException

    if value is null


    PresentationParameters

    Gets or sets the presentation parameters.

    public PresentationParameters PresentationParameters { get; set; }
    Property Value
    Type Description
    PresentationParameters

    The presentation parameters.

    Exceptions
    Type Condition
    System.ArgumentNullException

    if value is null

    | Improve this Doc View Source

    Methods


    Clone()

    Clones this instance.

    public GraphicsDeviceInformation Clone()
    Returns
    Type Description
    GraphicsDeviceInformation

    A new copy-instance of this GraphicsDeviceInformation.


    Equals(GraphicsDeviceInformation)

    public bool Equals(GraphicsDeviceInformation other)
    Parameters
    Type Name Description
    GraphicsDeviceInformation other
    Returns
    Type Description
    System.Boolean

    Equals(Object)

    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)

    GetHashCode()

    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()
    | Improve this Doc View Source

    Operators


    Equality(GraphicsDeviceInformation, GraphicsDeviceInformation)

    public static bool operator ==(GraphicsDeviceInformation left, GraphicsDeviceInformation right)
    Parameters
    Type Name Description
    GraphicsDeviceInformation left
    GraphicsDeviceInformation right
    Returns
    Type Description
    System.Boolean

    Inequality(GraphicsDeviceInformation, GraphicsDeviceInformation)

    public static bool operator !=(GraphicsDeviceInformation left, GraphicsDeviceInformation right)
    Parameters
    Type Name Description
    GraphicsDeviceInformation left
    GraphicsDeviceInformation right
    Returns
    Type Description
    System.Boolean

    Extension Methods

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

    Back to top

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