Fixed MSAA

This commit is contained in:
Michel Fedde 2021-03-24 13:53:29 +01:00
parent 7ea788534c
commit ddd2171da2
5 changed files with 21 additions and 9 deletions

View file

@ -55,6 +55,8 @@ namespace SM.OGL.Framebuffer
/// </summary>
public Dictionary<RenderbufferAttachment, int> RenderbufferAttachments { get; } = new Dictionary<RenderbufferAttachment, int>();
public ColorAttachment this[string colorName] => ColorAttachments[colorName];
/// <summary>
/// Creates a buffer without any options.
/// </summary>