jjdh.opengl.core
Class FramebufferObject
java.lang.Object
jjdh.opengl.core.FramebufferObject
public class FramebufferObject
- extends Object
Field Summary |
private javax.media.opengl.GL |
gl
|
private int[] |
id
|
private int[] |
previousId
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
private int[] id
previousId
private int[] previousId
gl
private javax.media.opengl.GL gl
FramebufferObject
public FramebufferObject(javax.media.opengl.GL gl)
unbindRestore
public void unbindRestore()
bindChecked
public void bindChecked()
generateId
private void generateId()
deleteFBO
public void deleteFBO()
bind
public void bind()
unbind
public void unbind()
attachTexture
public void attachTexture(int attachmentType,
com.sun.opengl.util.texture.Texture texture,
int mipMapLevel,
int zLevel)
attachTexture
public void attachTexture(int attachmentType,
com.sun.opengl.util.texture.Texture texture)
createAndAttach2DTexture
public com.sun.opengl.util.texture.Texture createAndAttach2DTexture(int attachmentType,
int pixelFormat,
int width,
int height)
attachRenderBuffer
public void attachRenderBuffer(int attachmentType,
int bufferId)
unattach
public void unattach(int attachmentType)
getKindOfAttachment
public int getKindOfAttachment(int attachmentType)
isComplete
public boolean isComplete()
Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.