|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neovisionaries.android.opengl.DepthBuffer
public final class DepthBuffer
Depth buffer.
Method Summary | |
---|---|
static void |
clear()
Clear the depth buffer (call glClear(GL_DEPTH_BUFFER_BIT)). |
static boolean |
isWritable()
Check if the depth buffer is writable. |
static void |
setClearDepth(float depth)
Set the depth used to clear the depth buffer (call glClearDepthf(depth)). |
static void |
setWritable(boolean writable)
Set the depth buffer writable (call glDepthMask(writable)). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setClearDepth(float depth)
depth
- The depth used to clear the depth buffer.
From 0.0f to 1.0f.public static void clear()
public static void setWritable(boolean writable)
writable
- True to make the depth buffer writable.public static boolean isWritable()
GLESState.getDepthWritemask()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |