Top Description Fields Constructors Methods
org.lwjgl.opengles

public Class APPLEFramebufferMultisample

extends Object
Class Inheritance
Imports
org.lwjgl.system.*

Native bindings to the APPLE_framebuffer_multisample extension.

This extension extends the framebuffer object framework to enable multisample rendering.

The new operation RenderbufferStorageMultisampleAPPLE() 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 ResolveMultisampleFramebufferAPPLE where the source is a multisample application-created framebuffer object and the destination is a single-sample framebuffer object. Separate read and draw framebuffer object binding points are established to facilitate the resolve.

Scissoring may be used in conjunction with ResolveMultisampleFramebufferAPPLE to resolve only a portion of the framebuffer.

Requires GLES 2.0.

Field Summary

Modifier and TypeField and Description
public static final int
GL_DRAW_FRAMEBUFFER_APPLE

Accepted by the target parameter of BindFramebuffer, CheckFramebufferStatus, FramebufferTexture2D, FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv.

public static final int
GL_DRAW_FRAMEBUFFER_BINDING_APPLE

Accepted by the pname parameter of GetBooleanv, GetIntegerv, and GetFloatv.

public static final int
GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE

Returned by CheckFramebufferStatus.

public static final int
GL_MAX_SAMPLES_APPLE

Accepted by the pname parameter of GetBooleanv, GetIntegerv, and GetFloatv.

public static final int
GL_READ_FRAMEBUFFER_APPLE

Accepted by the target parameter of BindFramebuffer, CheckFramebufferStatus, FramebufferTexture2D, FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv.

public static final int
GL_READ_FRAMEBUFFER_BINDING_APPLE

Accepted by the pname parameter of GetBooleanv, GetIntegerv, and GetFloatv.

public static final int
GL_RENDERBUFFER_SAMPLES_APPLE

Accepted by the pname parameter of GetRenderbufferParameteriv.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static native void
glRenderbufferStorageMultisampleAPPLE(int target, int samples, int internalformat, int width, int height)

public static native void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_DRAW_FRAMEBUFFER_APPLEback to summary
public static final int GL_DRAW_FRAMEBUFFER_APPLE

Accepted by the target parameter of BindFramebuffer, CheckFramebufferStatus, FramebufferTexture2D, FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv.

GL_DRAW_FRAMEBUFFER_BINDING_APPLEback to summary
public static final int GL_DRAW_FRAMEBUFFER_BINDING_APPLE

Accepted by the pname parameter of GetBooleanv, GetIntegerv, and GetFloatv.

GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLEback to summary
public static final int GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE

Returned by CheckFramebufferStatus.

GL_MAX_SAMPLES_APPLEback to summary
public static final int GL_MAX_SAMPLES_APPLE

Accepted by the pname parameter of GetBooleanv, GetIntegerv, and GetFloatv.

GL_READ_FRAMEBUFFER_APPLEback to summary
public static final int GL_READ_FRAMEBUFFER_APPLE

Accepted by the target parameter of BindFramebuffer, CheckFramebufferStatus, FramebufferTexture2D, FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv.

GL_READ_FRAMEBUFFER_BINDING_APPLEback to summary
public static final int GL_READ_FRAMEBUFFER_BINDING_APPLE

Accepted by the pname parameter of GetBooleanv, GetIntegerv, and GetFloatv.

GL_RENDERBUFFER_SAMPLES_APPLEback to summary
public static final int GL_RENDERBUFFER_SAMPLES_APPLE

Accepted by the pname parameter of GetRenderbufferParameteriv.

Constructor Detail

APPLEFramebufferMultisampleback to summary
protected APPLEFramebufferMultisample()

Method Detail

glRenderbufferStorageMultisampleAPPLEback to summary
public static native void glRenderbufferStorageMultisampleAPPLE(int target, int samples, int internalformat, int width, int height)
glResolveMultisampleFramebufferAPPLEback to summary
public static native void glResolveMultisampleFramebufferAPPLE()