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 Surface
Declaration
public SurfaceInfo(IntPtr handle, SurfaceInfo.SurfaceTypes type)
Parameters
Type | Name | Description |
---|---|---|
Int |
handle | Surface native handle. |
Surface |
type | Surface type. |
SurfaceInfo(IntPtr[], SurfaceTypes)
Initializes a new instance of the Surface
Declaration
public SurfaceInfo(IntPtr[] handles, SurfaceInfo.SurfaceTypes type)
Parameters
Type | Name | Description |
---|---|---|
Int |
handles | Surface native handle. |
Surface |
type | Surface type. |
Fields
Handles
Surface native handles.
Declaration
public IntPtr[] Handles
Field Value
Type | Description |
---|---|
Int |
Type
Surface type.
Declaration
public SurfaceInfo.SurfaceTypes Type
Field Value
Type | Description |
---|---|
Surface |
Methods
Equals(SurfaceInfo)
Determines whether the specified object is equal to this instance.
Declaration
public bool Equals(SurfaceInfo other)
Parameters
Type | Name | Description |
---|---|---|
Surface |
other | Other used to compare. |
Returns
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. |