Search Results for

    Show / Hide Table of Contents

    Struct SurfaceInfo

    Surface info struct.

    Implements
    IEquatable<SurfaceInfo>
    Inherited Members
    ValueType.Equals(object)
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Evergine.Common.Graphics
    Assembly: Evergine.Common.dll
    Syntax
    public struct SurfaceInfo : IEquatable<SurfaceInfo>

    Constructors

    SurfaceInfo(IntPtr, SurfaceTypes)

    Initializes a new instance of the SurfaceInfo struct.

    Declaration
    public SurfaceInfo(IntPtr handle, SurfaceInfo.SurfaceTypes type)
    Parameters
    Type Name Description
    IntPtr handle

    Surface native handle.

    SurfaceInfo.SurfaceTypes type

    Surface type.

    SurfaceInfo(IntPtr[], SurfaceTypes, params object[])

    Initializes a new instance of the SurfaceInfo struct.

    Declaration
    public SurfaceInfo(IntPtr[] handles, SurfaceInfo.SurfaceTypes type, params object[] nativeSurfaceObjects)
    Parameters
    Type Name Description
    IntPtr[] handles

    Surface native handle.

    SurfaceInfo.SurfaceTypes type

    Surface type.

    object[] nativeSurfaceObjects

    Native surface object.

    Fields

    Handles

    Surface native handles.

    Declaration
    public IntPtr[] Handles
    Field Value
    Type Description
    IntPtr[]

    NativeSurfaceObjects

    Native surface objects.

    Declaration
    public object[] NativeSurfaceObjects
    Field Value
    Type Description
    object[]

    Type

    Surface type.

    Declaration
    public SurfaceInfo.SurfaceTypes Type
    Field Value
    Type Description
    SurfaceInfo.SurfaceTypes

    Methods

    Equals(SurfaceInfo)

    Determines whether the specified object is equal to this instance.

    Declaration
    public bool Equals(SurfaceInfo other)
    Parameters
    Type Name Description
    SurfaceInfo other

    Other used to compare.

    Returns
    Type Description
    bool

    true if the specified object is equal to this instance; otherwise, false.

    GetHashCode()

    Returns a hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

    Overrides
    ValueType.GetHashCode()

    Implements

    IEquatable<T>

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX