Class IntAttribute
- java.lang.Object
-
- com.badlogic.gdx.graphics.g3d.Attribute
-
- com.badlogic.gdx.graphics.g3d.attributes.IntAttribute
-
-
Field Summary
Fields Modifier and Type Field Description static longCullFacestatic java.lang.StringCullFaceAliasintvalue
-
Constructor Summary
Constructors Constructor Description IntAttribute(long type)IntAttribute(long type, int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Attribute o)Attributecopy()static IntAttributecreateCullFace(int value)create a cull face attribute to be used in a materialinthashCode()-
Methods inherited from class com.badlogic.gdx.graphics.g3d.Attribute
equals, equals, getAttributeAlias, getAttributeType, register, toString
-
-
-
-
Field Detail
-
CullFaceAlias
public static final java.lang.String CullFaceAlias
- See Also:
- Constant Field Values
-
CullFace
public static final long CullFace
-
value
public int value
-
-
Method Detail
-
createCullFace
public static IntAttribute createCullFace(int value)
create a cull face attribute to be used in a material- Parameters:
value- cull face value, possible values are 0 (render both faces), GL_FRONT_AND_BACK (render nothing), GL_BACK (render front faces only), GL_FRONT (render back faces only), or -1 to inherit default- Returns:
- an attribute
-
copy
public Attribute copy()
-
compareTo
public int compareTo(Attribute o)
-
-