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