Package com.mojang.blaze3d.pipeline
Class RenderPipeline
java.lang.Object
com.mojang.blaze3d.pipeline.RenderPipeline
- Mappings:
Namespace Name named com/mojang/blaze3d/pipeline/RenderPipeline
intermediary com/mojang/blaze3d/pipeline/RenderPipeline
official com/mojang/blaze3d/pipeline/RenderPipeline
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static final record
static final record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Optional
<BlendFunction> private final LogicOp
private final boolean
private final float
private final float
private final DepthTestFunction
private final Identifier
private final Identifier
private final PolygonMode
private final Defines
private final List
<RenderPipeline.UniformDescription> private final VertexFormat
private final VertexFormat.DrawMode
private final Identifier
private final boolean
private final boolean
private final boolean
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
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) -
Method Summary
Modifier and TypeMethodDescriptionstatic RenderPipeline.Builder
builder
(RenderPipeline.Snippet[] snippets) float
float
boolean
isCull()
boolean
boolean
boolean
toString()
boolean
-
Field Details
-
location
-
vertexShader
-
fragmentShader
-
shaderDefines
-
samplers
-
uniforms
-
depthTestFunction
-
polygonMode
-
cull
private final boolean cull -
colorLogic
-
blendFunction
-
writeColor
private final boolean writeColor -
writeAlpha
private final boolean writeAlpha -
writeDepth
private final boolean writeDepth -
vertexFormat
-
vertexFormatMode
-
depthBiasScaleFactor
private final float depthBiasScaleFactor -
depthBiasConstant
private final float depthBiasConstant
-
-
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) - 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;FF)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;FF)V
official <init>
Lcom/mojang/blaze3d/pipeline/RenderPipeline;<init>(Lalr;Lalr;Lalr;Lgse;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;FF)V
-
-
Method Details
-
toString
-
getDepthTestFunction
-
getPolygonMode
-
isCull
public boolean isCull() -
getColorLogic
-
getBlendFunction
-
isWriteColor
public boolean isWriteColor() -
isWriteAlpha
public boolean isWriteAlpha() -
isWriteDepth
public boolean isWriteDepth() -
getDepthBiasScaleFactor
public float getDepthBiasScaleFactor() -
getDepthBiasConstant
public float getDepthBiasConstant() -
getLocation
-
getVertexFormat
-
getVertexFormatMode
-
getVertexShader
-
getFragmentShader
-
getShaderDefines
-
getSamplers
-
getUniforms
-
wantsDepthTexture
public boolean wantsDepthTexture() -
builder
- 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;
-