Struct SurfaceInfo
Surface info struct.
Implements
Inherited Members
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 | 
  | 
      
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.  |