Package com.jme3.texture
Class FrameBuffer.RenderBuffer
java.lang.Object
com.jme3.texture.FrameBuffer.RenderBuffer
- Direct Known Subclasses:
FrameBuffer.FrameBufferBufferTarget
,FrameBuffer.FrameBufferTextureTarget
- Enclosing class:
- FrameBuffer
RenderBuffer
represents either a texture or a
buffer that will be rendered to. RenderBuffer
s
are attached to an attachment slot on a FrameBuffer
.-
Constructor Details
-
RenderBuffer
public RenderBuffer()
-
-
Method Details
-
getLevel
public int getLevel() -
getFormat
- Returns:
- The image format of the render buffer.
-
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
-
toString
-
getLayer
public int getLayer()
-