Class IntAttribute

java.lang.Object
gaiasky.util.gdx.shader.attribute.Attribute
gaiasky.util.gdx.shader.attribute.IntAttribute
All Implemented Interfaces:
Comparable<Attribute>

public class IntAttribute extends Attribute
  • Field Details

    • CullFaceAlias

      public static final String CullFaceAlias
      See Also:
    • CullFace

      public static final int CullFace
    • EclipseOutlinesAlias

      public static final String 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

      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 GL_FRONT_AND_BACK, GL_BACK, GL_FRONT, or -1 to inherit default
      Returns:
      an attribute
    • copy

      public Attribute copy()
      Specified by:
      copy in class Attribute
      Returns:
      An exact copy of this attribute
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Attribute
    • compareTo

      public int compareTo(Attribute o)