Class IntAttribute
java.lang.Object
gaiasky.util.gdx.shader.attribute.Attribute
gaiasky.util.gdx.shader.attribute.IntAttribute
- All Implemented Interfaces:
Comparable<Attribute>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionIntAttribute
(int index) IntAttribute
(int index, int value) IntAttribute
(com.badlogic.gdx.graphics.g3d.attributes.IntAttribute other) -
Method Summary
Modifier and TypeMethodDescriptionint
copy()
static IntAttribute
createCullFace
(int value) create a cull face attribute to be used in a materialint
hashCode()
Methods inherited from class gaiasky.util.gdx.shader.attribute.Attribute
equals, equals, getAttributeAlias, getAttributeIndex, getAttributeIndex, getAttributeType, getIndex, getNumAttributes, getTypes, has, register, toString
-
Field Details
-
CullFaceAlias
- See Also:
-
CullFace
public static final int CullFace -
EclipseOutlinesAlias
- See Also:
-
EclipseOutlines
public static final int EclipseOutlines -
value
public int value
-
-
Constructor Details
-
IntAttribute
public IntAttribute(int index) -
IntAttribute
public IntAttribute(com.badlogic.gdx.graphics.g3d.attributes.IntAttribute other) -
IntAttribute
public IntAttribute(int index, int value)
-
-
Method Details
-
createCullFace
create a cull face attribute to be used in a material- Parameters:
value
- cull face value, possible values are GL_FRONT_AND_BACK, GL_BACK, GL_FRONT, or -1 to inherit default- Returns:
- an attribute
-
copy
-
hashCode
public int hashCode() -
compareTo
-