| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Access | Constructor and Description |
|---|---|
| public | GLOffscreenAutoDrawableImpl(final GLDrawable
a valid drawable, final GLContext context, final Object GLDrawable, may not be realized yet.optional UI element holding this instance, see upstreamWidget, final RecursiveLock getUpstreamWidget().optional upstream lock, may be null lock)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | setSurfaceSize(final int
new width in pixel units newWidth, final int new height in pixel units newHeight)Implements com. GLAutoDrawable's surface
|
| GLOffscreenAutoDrawableImpl | back to summary |
|---|---|
public GLOffscreenAutoDrawableImpl(final GLDrawable drawable, final GLContext context, final Object upstreamWidget, final RecursiveLock lock)
| |
| setSurfaceSize | back to summary |
|---|---|
| public void setSurfaceSize(final int newWidth, final int newHeight) throws NativeWindowException, GLException Implements com. Doc from com. Resize this
| |
| Access | Constructor and Description |
|---|---|
| public | FBOImpl(final GLFBODrawableImpl
a valid drawable, final GLContext GLDrawable, may not be realized yet.a valid context, final Object GLContext,
may not have been made current (created) yet,
may not be associated w/ drawableoptional UI element holding this instance, see upstreamWidget, final RecursiveLock getUpstreamWidget().optional upstream lock, may be null lock)
|
| Modifier and Type | Method and Description |
|---|---|
| public final FBObject. | getColorbuffer(final int
GL#GL_FRONT and GL#GL_BACK are valid buffer namesImplements com. Colorbuffer instance.
|
| public final FBObject | getFBObject(final int
GL#GL_FRONT and GL#GL_BACK are valid buffer namesImplements com. |
| public final int | |
| public final int | |
| public final int | |
| public final int | |
| public boolean | |
| public void | resetSize(final GL
GL context object bound to this drawable, will be made current during operation.
A prev. current context will be make current after operation. gl)Implements com. FBObject.
|
| public final void | setFBOMode(final int
custom FBO mode bits like modeBits)FBOMODE_USE_TEXTURE.Implements com. |
| public final int | setNumBuffers(final int bufferCount)
Implements com. double buffering.
|
| public final void | setNumSamples(final GL
GL context object bound to this drawable, will be made current during operation.
A prev. current context will be make current after operation. gl, final int new sample size newSamples)Implements com. |
| public final void | setTextureUnit(final int
the texture unit to be used unit)Implements com. |
| FBOImpl | back to summary |
|---|---|
public FBOImpl(final GLFBODrawableImpl drawable, final GLContext context, final Object upstreamWidget, final RecursiveLock lock)
| |
| getColorbuffer | back to summary |
|---|---|
| public final FBObject. Implements com. Doc from com. Returns the named
If MSAA is being used, only the
Depending on the
| |
| getFBObject | back to summary |
|---|---|
| public final FBObject getFBObject(final int bufferName) Implements com. // TODO: Add or remove TEXTURE (only) DoubleBufferMode support
| |
| getFBOMode | back to summary |
|---|---|
| public final int getFBOMode() Implements com.
| |
| getNumBuffers | back to summary |
|---|---|
| public final int getNumBuffers() Implements com.
| |
| getNumSamples | back to summary |
|---|---|
| public final int getNumSamples() Implements com.
| |
| getTextureUnit | back to summary |
|---|---|
| public final int getTextureUnit() Implements com.
| |
| isInitialized | back to summary |
|---|---|
| public boolean isInitialized() Implements com.
| |
| resetSize | back to summary |
|---|---|
| public void resetSize(final GL gl) throws GLException Implements com. Doc from com. Notify this instance about upstream size change
to reconfigure the
| |
| setFBOMode | back to summary |
|---|---|
| public final void setFBOMode(final int modeBits) throws IllegalStateException Implements com. Doc from com. Set the FBO mode bits used for FBO creation.
Default value is:
If
| |
| setNumBuffers | back to summary |
|---|---|
| public final int setNumBuffers(final int bufferCount) throws GLException Implements com. Doc from com. Sets the number of buffers (FBO) being used if using
If
Must be called before
| |
| setNumSamples | back to summary |
|---|---|
| public final void setNumSamples(final GL gl, final int newSamples) throws GLException Implements com. Doc from com. Set the number of sample buffers if using MSAA
| |
| setTextureUnit | back to summary |
|---|---|
| public final void setTextureUnit(final int unit) Implements com.
| |