public class DepthTestAttribute extends Attribute
Modifier and Type | Field and Description |
---|---|
static 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)
|
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, getAttributeAlias, getAttributeType, toString
public static final String Alias
public static final long Type
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)
Copyright © 2017. All rights reserved.