Class RenderPipeline

java.lang.Object
com.mojang.blaze3d.pipeline.RenderPipeline

@Environment(CLIENT) public class RenderPipeline extends Object
Mappings:
Namespace Name
named com/mojang/blaze3d/pipeline/RenderPipeline
intermediary com/mojang/blaze3d/pipeline/RenderPipeline
official com/mojang/blaze3d/pipeline/RenderPipeline
  • Field Details

    • sortKeySeed

      private static int sortKeySeed
    • location

      private final Identifier location
    • vertexShader

      private final Identifier vertexShader
    • fragmentShader

      private final Identifier fragmentShader
    • shaderDefines

      private final Defines shaderDefines
    • samplers

      private final List<String> samplers
    • uniforms

      private final List<RenderPipeline.UniformDescription> uniforms
    • depthTestFunction

      private final DepthTestFunction depthTestFunction
    • polygonMode

      private final PolygonMode polygonMode
    • cull

      private final boolean cull
    • colorLogic

      private final LogicOp colorLogic
    • blendFunction

      private final Optional<BlendFunction> blendFunction
    • writeColor

      private final boolean writeColor
    • writeAlpha

      private final boolean writeAlpha
    • writeDepth

      private final boolean writeDepth
    • vertexFormat

      private final VertexFormat vertexFormat
    • vertexFormatMode

      private final VertexFormat.DrawMode vertexFormatMode
    • depthBiasScaleFactor

      private final float depthBiasScaleFactor
    • depthBiasConstant

      private final float depthBiasConstant
    • sortKey

      private final int sortKey
  • Constructor Details

    • RenderPipeline

      protected RenderPipeline(Identifier location, Identifier vertexShader, Identifier fragmentShader, Defines shaderDefines, List<String> samplers, List<RenderPipeline.UniformDescription> uniforms, Optional<BlendFunction> blendFunction, DepthTestFunction depthTestFunction, PolygonMode polygonMode, boolean cull, boolean writeColor, boolean writeAlpha, boolean writeDepth, LogicOp colorLogic, VertexFormat vertexFormat, VertexFormat.DrawMode vertexFormatMode, float depthBiasScaleFactor, float depthBiasConstant, int sortKey)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lcom/mojang/blaze3d/pipeline/RenderPipeline;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;Lnet/minecraft/client/gl/Defines;Ljava/util/List;Ljava/util/List;Ljava/util/Optional;Lcom/mojang/blaze3d/platform/DepthTestFunction;Lcom/mojang/blaze3d/platform/PolygonMode;ZZZZLcom/mojang/blaze3d/platform/LogicOp;Lcom/mojang/blaze3d/vertex/VertexFormat;Lcom/mojang/blaze3d/vertex/VertexFormat$DrawMode;FFI)V
      intermediary <init> Lcom/mojang/blaze3d/pipeline/RenderPipeline;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;Lnet/minecraft/class_10149;Ljava/util/List;Ljava/util/List;Ljava/util/Optional;Lcom/mojang/blaze3d/platform/DepthTestFunction;Lcom/mojang/blaze3d/platform/PolygonMode;ZZZZLcom/mojang/blaze3d/platform/LogicOp;Lcom/mojang/blaze3d/vertex/VertexFormat;Lcom/mojang/blaze3d/vertex/VertexFormat$class_5596;FFI)V
      official <init> Lcom/mojang/blaze3d/pipeline/RenderPipeline;<init>(Lame;Lame;Lame;Lgye;Ljava/util/List;Ljava/util/List;Ljava/util/Optional;Lcom/mojang/blaze3d/platform/DepthTestFunction;Lcom/mojang/blaze3d/platform/PolygonMode;ZZZZLcom/mojang/blaze3d/platform/LogicOp;Lcom/mojang/blaze3d/vertex/VertexFormat;Lcom/mojang/blaze3d/vertex/VertexFormat$b;FFI)V
  • Method Details

    • getSortKey

      public int getSortKey()
    • updateSortKeySeed

      public static void updateSortKeySeed()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getDepthTestFunction

      public DepthTestFunction getDepthTestFunction()
    • getPolygonMode

      public PolygonMode getPolygonMode()
    • isCull

      public boolean isCull()
    • getColorLogic

      public LogicOp getColorLogic()
    • getBlendFunction

      public Optional<BlendFunction> getBlendFunction()
    • isWriteColor

      public boolean isWriteColor()
    • isWriteAlpha

      public boolean isWriteAlpha()
    • isWriteDepth

      public boolean isWriteDepth()
    • getDepthBiasScaleFactor

      public float getDepthBiasScaleFactor()
    • getDepthBiasConstant

      public float getDepthBiasConstant()
    • getLocation

      public Identifier getLocation()
    • getVertexFormat

      public VertexFormat getVertexFormat()
    • getVertexFormatMode

      public VertexFormat.DrawMode getVertexFormatMode()
    • getVertexShader

      public Identifier getVertexShader()
    • getFragmentShader

      public Identifier getFragmentShader()
    • getShaderDefines

      public Defines getShaderDefines()
    • getSamplers

      public List<String> getSamplers()
    • getUniforms

      public List<RenderPipeline.UniformDescription> getUniforms()
    • wantsDepthTexture

      public boolean wantsDepthTexture()
    • builder

      public static RenderPipeline.Builder builder(RenderPipeline.Snippet[] snippets)
      Mappings:
      Namespace Name Mixin selector
      named builder Lcom/mojang/blaze3d/pipeline/RenderPipeline;builder([Lcom/mojang/blaze3d/pipeline/RenderPipeline$Snippet;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
      intermediary builder Lcom/mojang/blaze3d/pipeline/RenderPipeline;builder([Lcom/mojang/blaze3d/pipeline/RenderPipeline$Snippet;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
      official builder Lcom/mojang/blaze3d/pipeline/RenderPipeline;builder([Lcom/mojang/blaze3d/pipeline/RenderPipeline$Snippet;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;