Struct NiSkinPartition.DrawContext
- Namespace
- SkyrimForge.Game
- Assembly
- SkyrimForge.dll
A view over RE::NiSkinPartition::DrawContext. It stores only the address, so it is valid until the game frees the object. Its members are extensions.
public readonly struct NiSkinPartition.DrawContext : IEquatable<NiSkinPartition.DrawContext>
- Implements
- Inherited Members
Constructors
DrawContext()
Reports a compile-time error, since a view created with new has no address.
[Obsolete("Creates a view with no address. Use NiSkinPartition.DrawContext.New(), which allocates one on the game's heap.", true)]
public DrawContext()
Properties
Exists
Whether the view has an address. A view from default or passed by the game to a replaced function can have none.
public bool Exists { get; }
Property Value
Methods
Equals(DrawContext)
public bool Equals(NiSkinPartition.DrawContext other)
Parameters
otherNiSkinPartition.DrawContext
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
Operators
operator ==(DrawContext, DrawContext)
Whether both views are over one address.
public static bool operator ==(NiSkinPartition.DrawContext left, NiSkinPartition.DrawContext right)
Parameters
leftNiSkinPartition.DrawContextrightNiSkinPartition.DrawContext
Returns
operator !=(DrawContext, DrawContext)
Whether the views are over different addresses.
public static bool operator !=(NiSkinPartition.DrawContext left, NiSkinPartition.DrawContext right)
Parameters
leftNiSkinPartition.DrawContextrightNiSkinPartition.DrawContext