Struct ID3D11Texture2D
- Namespace
- SkyrimForge.Game.W32
- Assembly
- SkyrimForge.dll
A view over REX::W32::ID3D11Texture2D. It stores only the address, so it is valid until the game frees the object. Its members are extensions.
public readonly struct ID3D11Texture2D : IEquatable<ID3D11Texture2D>
- Implements
- Inherited Members
Constructors
ID3D11Texture2D()
Reports a compile-time error, since a view created with new has no address.
[Obsolete("Creates a view with no address. SkyrimForge cannot allocate this type, so a view of it is obtained only from a member that returns one.", true)]
public ID3D11Texture2D()
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(ID3D11Texture2D)
public bool Equals(ID3D11Texture2D other)
Parameters
otherID3D11Texture2D
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
Operators
operator ==(ID3D11Texture2D, ID3D11Texture2D)
Whether both views are over one address.
public static bool operator ==(ID3D11Texture2D left, ID3D11Texture2D right)
Parameters
leftID3D11Texture2DrightID3D11Texture2D
Returns
operator !=(ID3D11Texture2D, ID3D11Texture2D)
Whether the views are over different addresses.
public static bool operator !=(ID3D11Texture2D left, ID3D11Texture2D right)
Parameters
leftID3D11Texture2DrightID3D11Texture2D