/// <summary> /// Initializer only to be called in <see cref="RWNodeFactory"/>. /// </summary> internal RWDrawCall(RWNodeFactory.RWNodeInfo header, BinaryReader reader) : base(header) { _struct = RWNodeFactory.GetNode<RWDrawCallStruct>(this, reader); _extension = RWNodeFactory.GetNode<RWExtension>(this, reader); }
/// <summary> /// Initialize a new empty <see cref="RWDrawCall"/> instance. /// </summary> public RWDrawCall() : base(RWNodeType.DrawCall) { _struct = new RWDrawCallStruct(0, 0, 0, 0, this); _extension = new RWExtension(this); }