This extension extends the framebuffer object framework to enable multisample rendering.
The new operation RenderbufferStorageMultisampleANGLE() allocates storage for a renderbuffer object that can be used as a multisample buffer. A multisample render buffer image differs from a single-sample render buffer image in that a multisample image has a number of SAMPLES that is greater than zero. No method is provided for creating multisample texture images.
All of the framebuffer-attachable images attached to a framebuffer object must have the same number of SAMPLES or else the framebuffer object is not "framebuffer complete". If a framebuffer object with multisample attachments is "framebuffer complete", then the framebuffer object behaves as if SAMPLE_BUFFERS is one.
The resolve operation is affected by calling BlitFramebufferANGLE (provided by the ANGLE_framebuffer_blit extension) where the source is a multisample application-created framebuffer object and the destination is a single-sample framebuffer object (either application-created or window-system provided).
Requires GLES 2. and ANGLE_framebuffer_blit.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE
Returned by CheckFramebufferStatus. |
| public static final int | GL_MAX_SAMPLES_ANGLE
Accepted by the |
| public static final int | GL_RENDERBUFFER_SAMPLES_ANGLE
Accepted by the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static native void | glRenderbufferStorageMultisampleANGLE(int target, int samples, int internalformat, int width, int height)
|
| GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE | back to summary |
|---|---|
| public static final int GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE Returned by CheckFramebufferStatus. | |
| GL_MAX_SAMPLES_ANGLE | back to summary |
|---|---|
| public static final int GL_MAX_SAMPLES_ANGLE Accepted by the | |
| GL_RENDERBUFFER_SAMPLES_ANGLE | back to summary |
|---|---|
| public static final int GL_RENDERBUFFER_SAMPLES_ANGLE Accepted by the | |
| ANGLEFramebufferMultisample | back to summary |
|---|---|
| protected ANGLEFramebufferMultisample() | |
| glRenderbufferStorageMultisampleANGLE | back to summary |
|---|---|
| public static native void glRenderbufferStorageMultisampleANGLE(int target, int samples, int internalformat, int width, int height) | |