|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.threed.jpct.DepthBuffer
public class DepthBuffer
A DepthBuffer can be used to make textures used as render targets share the same depth buffer.
By default, each texture will use it's own depth buffer, but you may want to use a unified one.
One instance can be assigned to multiple textures.
This is only valid in OpenGL ES 2.0 mode. In 1.x mode, it will have no effect.
Constructor Summary | |
---|---|
DepthBuffer(int width,
int height)
Creates a new depth buffer. |
Method Summary | |
---|---|
int |
getHeight()
Returns the height. |
int |
getWidth()
Returns the width. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DepthBuffer(int width, int height)
width
- the widthheight
- the heightMethod Detail |
---|
public int getHeight()
public int getWidth()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |