Package arc.fx.util
Class FxBufferQueue
java.lang.Object
arc.fx.util.FxBufferQueue
- All Implemented Interfaces:
Disposable
Provides looped access to an array of Framebuffers.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Releases all resources of this object.void
rebind()
Restores buffer OpenGL parameters.void
resize
(int width, int height) void
setTextureParams
(Texture.TextureWrap u, Texture.TextureWrap v, Texture.TextureFilter min, Texture.TextureFilter mag) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface arc.util.Disposable
isDisposed
-
Constructor Details
-
FxBufferQueue
-
-
Method Details
-
dispose
public void dispose()Description copied from interface:Disposable
Releases all resources of this object.- Specified by:
dispose
in interfaceDisposable
-
resize
public void resize(int width, int height) -
rebind
public void rebind()Restores buffer OpenGL parameters. Could be useful in case of OpenGL context loss. -
getCurrent
-
changeToNext
-
setTextureParams
public void setTextureParams(Texture.TextureWrap u, Texture.TextureWrap v, Texture.TextureFilter min, Texture.TextureFilter mag)
-