/// <summary> /// Appends a color attachment. /// </summary> public void Append(string key, ColorAttachment value) { if (ColorAttachments.Count == 0) { FirstColorAttachment = value; } ColorAttachments.Add(key, value); }
/// <summary> /// Disposes and clears the attachment /// </summary> public void Reset() { Dispose(); ColorAttachments.Clear(); RenderbufferAttachments.Clear(); }