Class BlendMode

java.lang.Object
com.mojang.blaze3d.shaders.BlendMode

public class BlendMode extends Object
  • Field Details

    • lastApplied

      @Nullable private static BlendMode lastApplied
    • srcColorFactor

      private final int srcColorFactor
    • srcAlphaFactor

      private final int srcAlphaFactor
    • dstColorFactor

      private final int dstColorFactor
    • dstAlphaFactor

      private final int dstAlphaFactor
    • blendFunc

      private final int blendFunc
    • separateBlend

      private final boolean separateBlend
    • opaque

      private final boolean opaque
  • Constructor Details

    • BlendMode

      private BlendMode(boolean p_85519_, boolean p_85520_, int p_85521_, int p_85522_, int p_85523_, int p_85524_, int p_85525_)
    • BlendMode

      public BlendMode()
    • BlendMode

      public BlendMode(int p_85509_, int p_85510_, int p_85511_)
    • BlendMode

      public BlendMode(int p_85513_, int p_85514_, int p_85515_, int p_85516_, int p_85517_)
  • Method Details

    • apply

      public void apply()
    • equals

      public boolean equals(Object p_85533_)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isOpaque

      public boolean isOpaque()
    • stringToBlendFunc

      public static int stringToBlendFunc(String p_85528_)
    • stringToBlendFactor

      public static int stringToBlendFactor(String p_85531_)