Maven module :un.engine : engine-opengl-util :
Class :
un.impl.opengl.resource.FBO
Extends/Implements :
un.impl.opengl.resource.AbstractResource
Subclasses : -
Variables :
attachments
Functions :
FBO,
getWidth,
getHeight,
resize,
resample,
getAttachements,
addAttachment,
addAttachment,
removeAttachment,
getGpuID,
getTexture,
getColorTexture,
getDepthTexture,
getStencilTexture,
getDepthStencilTexture,
isOnSystemMemory,
isOnGpuMemory,
loadOnSystemMemory,
loadOnGpuMemory,
unloadFromSystemMemory,
unloadFromGpuMemory,
bind,
unbind,
blit,
createBlitFBO,
toChars
protected Sequence
attachments
public void
FBO (int width, int height)
public int
getWidth ()
public int
getHeight ()
public void
resize (GL gl, int width, int height)
public void
resample (GL gl, int nbSample)
public FBOAttachment[]
getAttachements ()
public void
addAttachment (int type, Texture texture)
public void
addAttachment (FBOAttachment att)
public void
removeAttachment (int type)
public int
getGpuID ()
public Texture
getTexture (int type)
public Texture
getColorTexture ()
public Texture
getDepthTexture ()
public Texture
getStencilTexture ()
public Texture
getDepthStencilTexture ()
public boolean
isOnSystemMemory ()
public boolean
isOnGpuMemory ()
public void
loadOnSystemMemory (GL gl)
public void
loadOnGpuMemory (GL gl)
public void
unloadFromSystemMemory (GL gl)
public void
unloadFromGpuMemory (GL gl)
public void
bind (GL gl)
public void
unbind (GL gl)
public void
blit (GL gl, FBO blitFBO)
public FBO
createBlitFBO ()
public Chars
toChars ()
http://www.opengl.org/wiki/Framebuffer_Object
author Johann Sorel