Modifier and Type | Field and Description |
---|---|
static java.lang.String |
Alias |
int |
depthFunc
The depth test function, or 0 to disable depth test (default: GL10.GL_LEQUAL)
|
boolean |
depthMask
Whether to write to the depth buffer (default: true)
|
float |
depthRangeFar
Mapping of far clipping plane to window coordinates (default: 1)
|
float |
depthRangeNear
Mapping of near clipping plane to window coordinates (default: 0)
|
protected static long |
Mask |
static long |
Type |
Constructor and Description |
---|
DepthTestAttribute() |
DepthTestAttribute(boolean depthMask) |
DepthTestAttribute(DepthTestAttribute rhs) |
DepthTestAttribute(int depthFunc) |
DepthTestAttribute(int depthFunc,
boolean depthMask) |
DepthTestAttribute(int depthFunc,
float depthRangeNear,
float depthRangeFar) |
DepthTestAttribute(int depthFunc,
float depthRangeNear,
float depthRangeFar,
boolean depthMask) |
DepthTestAttribute(long type,
int depthFunc,
float depthRangeNear,
float depthRangeFar,
boolean depthMask) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Attribute o) |
Attribute |
copy() |
int |
hashCode() |
static boolean |
is(long mask) |
equals, equals, getAttributeAlias, getAttributeType, register, toString
public static final java.lang.String Alias
public static final long Type
protected static long Mask
public int depthFunc
public float depthRangeNear
public float depthRangeFar
public boolean depthMask
public DepthTestAttribute()
public DepthTestAttribute(boolean depthMask)
public DepthTestAttribute(int depthFunc)
public DepthTestAttribute(int depthFunc, boolean depthMask)
public DepthTestAttribute(int depthFunc, float depthRangeNear, float depthRangeFar)
public DepthTestAttribute(int depthFunc, float depthRangeNear, float depthRangeFar, boolean depthMask)
public DepthTestAttribute(long type, int depthFunc, float depthRangeNear, float depthRangeFar, boolean depthMask)
public DepthTestAttribute(DepthTestAttribute rhs)