com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Enum BlendFactor

  • java.lang.Object
    • java.lang.Enum<BlendFactor>
      • com.aspose.threed.BlendFactor
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<BlendFactor>


    public enum BlendFactor
    extends java.lang.Enum<BlendFactor>
    Blend factor specify pixel arithmetic.
    • Enum Constant Detail

      • ZERO

        public static final BlendFactor ZERO
        The blend factor is vec4(0)
      • ONE

        public static final BlendFactor ONE
        The blend factor is vec4(1)
      • SRC_COLOR

        public static final BlendFactor SRC_COLOR
        The blend factor is src.rgba
      • ONE_MINUS_SRC_COLOR

        public static final BlendFactor ONE_MINUS_SRC_COLOR
        The blend factor is vec4(1) - src.rgba
      • DST_COLOR

        public static final BlendFactor DST_COLOR
        The blend factor is dst.rgba
      • ONE_MINUS_DST_COLOR

        public static final BlendFactor ONE_MINUS_DST_COLOR
        The blend factor is vec4(1) - dst.rgba
      • SRC_ALPHA

        public static final BlendFactor SRC_ALPHA
        The blend factor is vec4(src.a)
      • ONE_MINUS_SRC_ALPHA

        public static final BlendFactor ONE_MINUS_SRC_ALPHA
        The blend factor is vec4(1 - src.a)
      • DST_ALPHA

        public static final BlendFactor DST_ALPHA
        The blend factor is vec4(dst.a)
      • ONE_MINUS_DST_ALPHA

        public static final BlendFactor ONE_MINUS_DST_ALPHA
        The blend factor is vec4(1 - dst.a)
      • SRC_ALPHA_SATURATE

        public static final BlendFactor SRC_ALPHA_SATURATE
        The blend factor is min(src.a, 1 - dst.a)
    • Method Detail

      • values

        public static BlendFactor[] 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 (BlendFactor c : BlendFactor.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BlendFactor valueOf(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null