Class FloatAttribute

java.lang.Object
gaiasky.util.gdx.shader.attribute.Attribute
gaiasky.util.gdx.shader.attribute.FloatAttribute
All Implemented Interfaces:
Comparable<Attribute>
Direct Known Subclasses:
AtmosphereAttribute

public class FloatAttribute extends Attribute
  • Field Details

    • ShininessAlias

      public static final String ShininessAlias
      See Also:
    • Shininess

      public static final int Shininess
    • AlphaTestAlias

      public static final String AlphaTestAlias
      See Also:
    • AlphaTest

      public static final int AlphaTest
    • VcAlias

      public static final String VcAlias
      See Also:
    • Vc

      public static final int Vc
    • TsAlias

      public static final String TsAlias
      See Also:
    • Ts

      public static final int Ts
    • OmgwAlias

      public static final String OmgwAlias
      See Also:
    • Omgw

      public static final int Omgw
    • HeightScaleAlias

      public static final String HeightScaleAlias
      See Also:
    • HeightScale

      public static final int HeightScale
    • ElevationMultiplierAlias

      public static final String ElevationMultiplierAlias
      See Also:
    • ElevationMultiplier

      public static final int ElevationMultiplier
    • HeightNoiseSizeAlias

      public static final String HeightNoiseSizeAlias
      See Also:
    • HeightNoiseSize

      public static final int HeightNoiseSize
    • TessQualityAlias

      public static final String TessQualityAlias
      See Also:
    • TessQuality

      public static final int TessQuality
    • TimeAlias

      public static final String TimeAlias
      See Also:
    • Time

      public static final int Time
    • SvtTileSizeAlias

      public static final String SvtTileSizeAlias
      See Also:
    • SvtTileSize

      public static final int SvtTileSize
    • SvtDepthAlias

      public static final String SvtDepthAlias
      See Also:
    • SvtDepth

      public static final int SvtDepth
    • SvtIdAlias

      public static final String SvtIdAlias
      See Also:
    • SvtId

      public static final int SvtId
    • SvtDetectionFactorAlias

      public static final String SvtDetectionFactorAlias
      See Also:
    • SvtDetectionFactor

      public static final int SvtDetectionFactor
    • value

      public float value
  • Constructor Details

    • FloatAttribute

      public FloatAttribute(int index)
    • FloatAttribute

      public FloatAttribute(com.badlogic.gdx.graphics.g3d.attributes.FloatAttribute other)
    • FloatAttribute

      public FloatAttribute(int index, float value)
  • Method Details

    • convertType

      protected static int convertType(long oldType)
    • createShininess

      public static FloatAttribute createShininess(float value)
    • createAlphaTest

      public static FloatAttribute createAlphaTest(float value)
    • 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)