Enum ShadowType

    • Enum Constant Detail

      • NONE

        public static final ShadowType NONE
        No shadows.
      • TEXTURE_ADDITIVE

        public static final ShadowType TEXTURE_ADDITIVE
        Texture additive shadows.
      • TEXTURE_MODULATIVE

        public static final ShadowType TEXTURE_MODULATIVE
        Texture modulative shadows.
      • STENCIL_ADDITIVE

        public static final ShadowType STENCIL_ADDITIVE
        Stencil additive shadows.
      • STENCIL_MODULATIVE

        public static final ShadowType STENCIL_MODULATIVE
        Stencil modulative shadows.
    • Field Detail

      • value

        public final int value
        Associated value to avoid to depend on the natural order.
    • Method Detail

      • values

        public static ShadowType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ShadowType c : ShadowType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ShadowType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null