Class SMTextureColorGrading
Color-grading info for a tileset texture (MTCG, Shadowlands+): a start distance pair and the color-grading LUT / ramp FileDataIDs applied to the diffuse texture at the same index.
public class SMTextureColorGrading : IDisposable
- Inheritance
-
SMTextureColorGrading
- Implements
- Inherited Members
Constructors
SMTextureColorGrading()
public SMTextureColorGrading()
SMTextureColorGrading(uint, uint, uint, uint)
public SMTextureColorGrading(uint startDistance, uint _04, uint colorGradingFdid, uint colorGradingRampFdid)
Parameters
SMTextureColorGrading(SMTextureColorGrading)
Copy-construct: a deep copy of other (the C++ copy constructor).
public SMTextureColorGrading(SMTextureColorGrading other)
Parameters
otherSMTextureColorGrading
Properties
ColorGradingFdid
The color-grading LUT FileDataID.
public uint ColorGradingFdid { get; set; }
Property Value
ColorGradingRampFdid
The color-grading ramp FileDataID.
public uint ColorGradingRampFdid { get; set; }
Property Value
StartDistance
Start distance (the record is used when this or _04 is non-zero).
public uint StartDistance { get; set; }
Property Value
Unknown04
Unknown companion of start_distance.
public uint Unknown04 { get; set; }
Property Value
Methods
Dispose()
Release the native object now. Optional: the finalizer releases it on
collection anyway - dispose (or using) when you want native memory back
promptly.
public virtual void Dispose()
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Reference-identity hash (the C++ type has no hash to mirror).
public override int GetHashCode()
Returns
Operators
operator ==(SMTextureColorGrading?, SMTextureColorGrading?)
public static bool operator ==(SMTextureColorGrading? l, SMTextureColorGrading? r)
Parameters
Returns
operator !=(SMTextureColorGrading?, SMTextureColorGrading?)
public static bool operator !=(SMTextureColorGrading? l, SMTextureColorGrading? r)