Struct D3D_SHADER_MACRO
- Namespace
- SkyrimForge.Game.W32
- Assembly
- SkyrimForge.dll
A view over REX::W32::D3D_SHADER_MACRO. It stores only the address, so it is valid until the game frees the object. Its members are extensions.
public readonly struct D3D_SHADER_MACRO : IEquatable<D3D_SHADER_MACRO>
- Implements
- Inherited Members
Constructors
D3D_SHADER_MACRO()
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 D3D_SHADER_MACRO()
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(D3D_SHADER_MACRO)
public bool Equals(D3D_SHADER_MACRO other)
Parameters
otherD3D_SHADER_MACRO
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
Operators
operator ==(D3D_SHADER_MACRO, D3D_SHADER_MACRO)
Whether both views are over one address.
public static bool operator ==(D3D_SHADER_MACRO left, D3D_SHADER_MACRO right)
Parameters
leftD3D_SHADER_MACROrightD3D_SHADER_MACRO
Returns
operator !=(D3D_SHADER_MACRO, D3D_SHADER_MACRO)
Whether the views are over different addresses.
public static bool operator !=(D3D_SHADER_MACRO left, D3D_SHADER_MACRO right)
Parameters
leftD3D_SHADER_MACROrightD3D_SHADER_MACRO