public class FloatFrameBuffer extends FrameBuffer
FrameBuffer variant backed by a float texture.colorTexture, format, hasDepth, height, width| Constructor and Description |
|---|
FloatFrameBuffer(int width,
int height,
boolean hasDepth)
Creates a new FrameBuffer with a float backing texture, having the given dimensions and potentially a depth buffer attached.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
setupTexture()
Override this method in a derived class to set up the backing texture as you like.
|
begin, clearAllFrameBuffers, dispose, end, getColorBufferTexture, getHeight, getManagedStatus, getWidth, invalidateAllFrameBufferspublic FloatFrameBuffer(int width,
int height,
boolean hasDepth)
width - the width of the framebuffer in pixelsheight - the height of the framebuffer in pixelshasDepth - whether to attach a depth bufferGdxRuntimeException - in case the FrameBuffer could not be createdprotected void setupTexture()
setupTexture in class FrameBuffer