Class ShadowBatch
One MOBS shadow batch (Cata+): the shadow-pass counterpart of a MOBA render batch.
public class ShadowBatch : IDisposable
- Inheritance
-
ShadowBatch
- Implements
- Inherited Members
Constructors
ShadowBatch()
public ShadowBatch()
ShadowBatch(ShadowBatch)
Copy-construct: a deep copy of other (the C++ copy constructor).
public ShadowBatch(ShadowBatch other)
Parameters
otherShadowBatch
Properties
Count
Count value; divided by 3 on use (a face count).
public short Count { get; set; }
Property Value
Flags
Batch flags; 0x2: use material_id_large.
public byte Flags { get; set; }
Property Value
MaterialId
Index into MOMT (when it fits 8 bits).
public byte MaterialId { get; set; }
Property Value
MaterialIdLarge
16-bit material id; used when flags has 0x2.
public ushort MaterialIdLarge { get; set; }
Property Value
Start
Start value; divided by 3 on use (a face index).
public int Start { 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()