/// <summary> /// Allocates Multisampled storage on named renderbuffer. /// </summary> /// <param name="RenderbufferID">id of renderbuffer to allocate multisample storage for.</param> /// <param name="samples">Number of samples in multisample storage.</param> /// <param name="iformat">Format of multisample storage.</param> /// <param name="width">Width of storage.</param> /// <param name="height">Height of storage.</param> public static void NamedRenderbufferStorageMultisampleEXT(uint RenderbufferID, int samples, RenderbufferStorageFormat iformat, int width, int height) { Delegates.glNamedRenderbufferStorageMultisampleEXT(RenderbufferID, samples, iformat, width, height); }
/// <summary> /// Allocates a multisample renderbuffer storage with specific dimensions for currently bound renderbuffer. /// </summary> /// <param name="target">Renderbuffertarfet containg renderbuffer to create multisample storage for.</param> /// <param name="samples">Number of samples in multisample storage.</param> /// <param name="iformat">Format of renderbuffer.</param> /// <param name="width">Width of renderbuffer.</param> /// <param name="height">Height of renderbuffer.</param> public static void RenderbufferStorageMultisample(int samples, RenderbufferStorageFormat iformat, int width, int height, RenderbufferTarget target = RenderbufferTarget.Renderbuffer) { Delegates.glRenderbufferStorageMultisample(target, samples, iformat, width, height); }