Class FrameBuffer.RenderBuffer

java.lang.Object
com.jme3.texture.FrameBuffer.RenderBuffer
Direct Known Subclasses:
FrameBuffer.FrameBufferBufferTarget, FrameBuffer.FrameBufferTextureTarget
Enclosing class:
FrameBuffer

public static class FrameBuffer.RenderBuffer extends Object
RenderBuffer represents either a texture or a buffer that will be rendered to. RenderBuffers are attached to an attachment slot on a FrameBuffer.
  • Constructor Details

    • RenderBuffer

      public RenderBuffer()
  • Method Details

    • getLevel

      public int getLevel()
    • getFormat

      public Image.Format getFormat()
      Returns:
      The image format of the render buffer.
    • getTexture

      public Texture getTexture()
      Returns:
      The texture to render to for this RenderBuffer or null if content should be rendered into a buffer.
    • getId

      public int getId()
      Do not use.
      Returns:
      the buffer's ID
    • setId

      public void setId(int id)
      Do not use.
      Parameters:
      id - the desired ID
    • getSlot

      public int getSlot()
      Do not use.
      Returns:
      the slot code, such as SLOT_DEPTH_STENCIL
    • getFace

      public int getFace()
    • resetObject

      public void resetObject()
    • createDestructableClone

      public FrameBuffer.RenderBuffer createDestructableClone()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getLayer

      public int getLayer()