|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgestalt.shape.material.TexturePlugin
gestalt.impl.jogl.shape.material.JoglTexturePlugin
gestalt.candidates.ssao.FrameBufferDepth
public class FrameBufferDepth
| Field Summary | |
|---|---|
MaterialPlugin |
shader
|
| Fields inherited from class gestalt.shape.material.TexturePlugin |
|---|
ERROR_BITMAP_REFERANCE_NULL, ERROR_EXCEEDED_SIZE, HINT_TEXTURE_FLIP_Y_AXIS |
| Constructor Summary | |
|---|---|
FrameBufferDepth(int theWidth,
int theHeight,
Camera theCamera,
JoglTexCreator theTexGenerator)
|
|
FrameBufferDepth(int theWidth,
int theHeight,
Camera theCamera,
JoglTexCreator theTexGenerator,
BufferInfo theBufferID)
|
|
FrameBufferDepth(int theWidth,
int theHeight,
JoglTexCreator theTexGenerator)
|
|
| Method Summary | |
|---|---|
void |
add(Drawable theDrawable)
this method is commonly used to store children of a drawable. |
Color |
backgroundcolor()
|
void |
begin(GLContext theRenderContext,
Material theParent)
|
RenderBin |
bin()
|
void |
bindBuffer(GL gl)
|
Bitmap |
bitmap()
|
Camera |
camera()
|
static boolean |
checkFrameBufferStatus(GL gl)
|
static FrameBufferDepth |
createDefault(int theFBOWidth,
int theFBOHeight,
Camera theCamera)
|
static FrameBufferDepth |
createDefault(int theFBOWidth,
int theFBOHeight,
Camera theCamera,
boolean theColorBufferClearing,
boolean theDepthBufferClearing)
|
static JoglMultiTexPlane |
createView(FrameBufferDepth theFBO)
|
void |
draw(GLContext theRenderContext)
this method is used to draw the drawable, when the context is ready. |
void |
end(GLContext theRenderContext,
Material theParent)
|
BufferInfo |
getBufferInfo()
|
int |
getMaxTextureSize()
|
int |
getOpenGLTextureID()
|
int |
getPixelHeight()
|
int |
getPixelWidth()
|
float[] |
getSortData()
returns the data upon which a sort value is calculated. |
float |
getSortValue()
returns the last sort value. |
void |
init(GL gl)
|
void |
initStatic(GL gl)
|
boolean |
isActive()
returns whether the drawable is active. |
boolean |
isSortable()
returns true if the 'drawable' should be sorted before drawing. |
void |
load(Bitmap theBitmap)
|
void |
reload()
|
Drawable |
remove(Drawable theDrawable)
|
JoglTexturePlugin |
secondary_texture()
|
void |
setActive(boolean theIsActive)
|
void |
setAttachmentPoint(int theAttachmentPoint)
|
void |
setBitmapRef(Bitmap theBitmap)
|
void |
setCameraRef(Camera theCamera)
|
void |
setSortValue(float theSortValue)
caches the current sort value. |
static void |
unbindBuffer(GL gl)
|
void |
update(GL gl,
GLU glu)
|
| Methods inherited from class gestalt.impl.jogl.shape.material.JoglTexturePlugin |
|---|
bind, disable, dispose, enable, getFormat, getOpenGLType, getTextureTargetAsString, setInitialized, setOpenGLTextureID |
| Methods inherited from class gestalt.shape.material.TexturePlugin |
|---|
bordercolor, getFilterType, getTextureTarget, getTextureUnit, getWrapMode, isInitialized, nonpoweroftwotexturerescale, position, rotation, scale, setFilterType, setTextureTarget, setTextureUnit, setWrapMode, validateBitmapSize |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public MaterialPlugin shader
| Constructor Detail |
|---|
public FrameBufferDepth(int theWidth,
int theHeight,
JoglTexCreator theTexGenerator)
public FrameBufferDepth(int theWidth,
int theHeight,
Camera theCamera,
JoglTexCreator theTexGenerator)
public FrameBufferDepth(int theWidth,
int theHeight,
Camera theCamera,
JoglTexCreator theTexGenerator,
BufferInfo theBufferID)
| Method Detail |
|---|
public void setAttachmentPoint(int theAttachmentPoint)
public static JoglMultiTexPlane createView(FrameBufferDepth theFBO)
public static FrameBufferDepth createDefault(int theFBOWidth,
int theFBOHeight,
Camera theCamera,
boolean theColorBufferClearing,
boolean theDepthBufferClearing)
public static FrameBufferDepth createDefault(int theFBOWidth,
int theFBOHeight,
Camera theCamera)
public void initStatic(GL gl)
initStatic in class JoglTexturePluginpublic void setCameraRef(Camera theCamera)
public Camera camera()
public void draw(GLContext theRenderContext)
Drawable
draw in interface DrawabletheRenderContext - GLContextpublic Color backgroundcolor()
public int getPixelWidth()
getPixelWidth in class TexturePluginpublic int getPixelHeight()
getPixelHeight in class TexturePluginpublic int getOpenGLTextureID()
getOpenGLTextureID in class JoglTexturePluginpublic void add(Drawable theDrawable)
Drawable
add in interface DrawabletheDrawable - Drawablepublic RenderBin bin()
public Drawable remove(Drawable theDrawable)
public JoglTexturePlugin secondary_texture()
public final void init(GL gl)
public BufferInfo getBufferInfo()
public final void bindBuffer(GL gl)
public static final void unbindBuffer(GL gl)
public static boolean checkFrameBufferStatus(GL gl)
public void update(GL gl,
GLU glu)
update in class JoglTexturePluginpublic void load(Bitmap theBitmap)
load in class TexturePluginpublic void reload()
reload in class TexturePluginpublic Bitmap bitmap()
bitmap in class TexturePluginpublic void setBitmapRef(Bitmap theBitmap)
setBitmapRef in class TexturePlugin
public void begin(GLContext theRenderContext,
Material theParent)
begin in interface MaterialPluginbegin in class JoglTexturePlugin
public void end(GLContext theRenderContext,
Material theParent)
end in interface MaterialPluginend in class JoglTexturePluginpublic boolean isActive()
Drawable
isActive in interface Drawablepublic void setActive(boolean theIsActive)
public float getSortValue()
Drawable
getSortValue in interface Drawablepublic void setSortValue(float theSortValue)
Drawable
setSortValue in interface DrawabletheSortValue - floatpublic float[] getSortData()
Drawable
getSortData in interface Drawablepublic boolean isSortable()
Drawable
isSortable in interface Drawablepublic int getMaxTextureSize()
getMaxTextureSize in class JoglTexturePlugin
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||