Package gov.nasa.worldwind.render
Class Framebuffer
- java.lang.Object
-
- gov.nasa.worldwind.render.Framebuffer
-
- All Implemented Interfaces:
RenderResource
public class Framebuffer extends java.lang.Object implements RenderResource
-
-
Constructor Summary
Constructors Constructor Description Framebuffer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanattachTexture(DrawContext dc, Texture texture, int attachment)booleanbindFramebuffer(DrawContext dc)TexturegetAttachedTexture(int attachment)booleanisFramebufferComplete(DrawContext dc)voidrelease(DrawContext dc)Frees any resources associated with this instance.
-
-
-
Method Detail
-
release
public void release(DrawContext dc)
Description copied from interface:RenderResourceFrees any resources associated with this instance. After this method returns the rendering resource is invalid, and any associated GL object is deleted.- Specified by:
releasein interfaceRenderResource- Parameters:
dc- the current draw context
-
bindFramebuffer
public boolean bindFramebuffer(DrawContext dc)
-
attachTexture
public boolean attachTexture(DrawContext dc, Texture texture, int attachment)
-
getAttachedTexture
public Texture getAttachedTexture(int attachment)
-
isFramebufferComplete
public boolean isFramebufferComplete(DrawContext dc)
-
-