Package com.mojang.blaze3d.pipeline
Class RenderPipeline.Builder
java.lang.Object
com.mojang.blaze3d.pipeline.RenderPipeline.Builder
- Enclosing class:
RenderPipeline
- Mappings:
Namespace Name named com/mojang/blaze3d/pipeline/RenderPipeline$Builder
intermediary com/mojang/blaze3d/pipeline/RenderPipeline$Builder
official com/mojang/blaze3d/pipeline/RenderPipeline$Builder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Optional
<BlendFunction> private Optional
<Defines.Builder> private float
private float
private Optional
<DepthTestFunction> private Optional
<Identifier> private Optional
<Identifier> private static int
private Optional
<PolygonMode> private Optional
<List<RenderPipeline.UniformDescription>> private Optional
<VertexFormat> private Optional
<VertexFormat.DrawMode> private Optional
<Identifier> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
withBlend
(BlendFunction blendFunction) withColorLogic
(LogicOp colorLogic) Deprecated.withColorWrite
(boolean writeColor) withColorWrite
(boolean writeColor, boolean writeAlpha) withCull
(boolean cull) withDepthBias
(float depthBiasScaleFactor, float depthBiasConstant) withDepthTestFunction
(DepthTestFunction depthTestFunction) withDepthWrite
(boolean writeDepth) withFragmentShader
(String fragmentShader) withFragmentShader
(Identifier fragmentShader) withLocation
(String location) withLocation
(Identifier location) withPolygonMode
(PolygonMode polygonMode) withSampler
(String sampler) withShaderDefine
(String flag) withShaderDefine
(String name, float value) withShaderDefine
(String name, int value) (package private) void
withSnippet
(RenderPipeline.Snippet snippet) withUniform
(String name, UniformType type) withUniform
(String name, UniformType type, TextureFormat format) withVertexFormat
(VertexFormat vertexFormat, VertexFormat.DrawMode vertexFormatMode) withVertexShader
(String string) withVertexShader
(Identifier vertexShader)
-
Field Details
-
nextPipelineSortKey
private static int nextPipelineSortKey -
location
-
fragmentShader
-
vertexShader
-
definesBuilder
-
samplers
-
uniforms
-
depthTestFunction
-
polygonMode
-
cull
-
writeColor
-
writeAlpha
-
writeDepth
-
colorLogic
-
blendFunction
-
vertexFormat
-
vertexFormatMode
-
depthBiasScaleFactor
private float depthBiasScaleFactor -
depthBiasConstant
private float depthBiasConstant
-
-
Constructor Details
-
Builder
Builder()
-
-
Method Details
-
withLocation
- Mappings:
Namespace Name Mixin selector named withLocation
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withLocation(Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
intermediary withLocation
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withLocation(Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
official withLocation
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withLocation(Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withLocation
- Mappings:
Namespace Name Mixin selector named withLocation
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withLocation(Lnet/minecraft/util/Identifier;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
intermediary withLocation
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withLocation(Lnet/minecraft/class_2960;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
official withLocation
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withLocation(Lame;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withFragmentShader
- Mappings:
Namespace Name Mixin selector named withFragmentShader
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withFragmentShader(Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
intermediary withFragmentShader
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withFragmentShader(Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
official withFragmentShader
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withFragmentShader(Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withFragmentShader
- Mappings:
Namespace Name Mixin selector named withFragmentShader
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withFragmentShader(Lnet/minecraft/util/Identifier;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
intermediary withFragmentShader
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withFragmentShader(Lnet/minecraft/class_2960;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
official withFragmentShader
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withFragmentShader(Lame;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withVertexShader
-
withVertexShader
- Mappings:
Namespace Name Mixin selector named withVertexShader
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withVertexShader(Lnet/minecraft/util/Identifier;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
intermediary withVertexShader
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withVertexShader(Lnet/minecraft/class_2960;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
official withVertexShader
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withVertexShader(Lame;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withShaderDefine
- Mappings:
Namespace Name Mixin selector named withShaderDefine
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withShaderDefine(Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
intermediary withShaderDefine
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withShaderDefine(Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
official withShaderDefine
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withShaderDefine(Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withShaderDefine
- Mappings:
Namespace Name Mixin selector named withShaderDefine
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withShaderDefine(Ljava/lang/String;I)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
intermediary withShaderDefine
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withShaderDefine(Ljava/lang/String;I)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
official withShaderDefine
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withShaderDefine(Ljava/lang/String;I)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withShaderDefine
- Mappings:
Namespace Name Mixin selector named withShaderDefine
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withShaderDefine(Ljava/lang/String;F)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
intermediary withShaderDefine
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withShaderDefine(Ljava/lang/String;F)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
official withShaderDefine
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withShaderDefine(Ljava/lang/String;F)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withSampler
- Mappings:
Namespace Name Mixin selector named withSampler
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withSampler(Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
intermediary withSampler
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withSampler(Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
official withSampler
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withSampler(Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withUniform
- Mappings:
Namespace Name Mixin selector named withUniform
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withUniform(Ljava/lang/String;Lnet/minecraft/client/gl/UniformType;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
intermediary withUniform
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withUniform(Ljava/lang/String;Lnet/minecraft/class_10789;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
official withUniform
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withUniform(Ljava/lang/String;Lfns;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withUniform
- Mappings:
Namespace Name Mixin selector named withUniform
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withUniform(Ljava/lang/String;Lnet/minecraft/client/gl/UniformType;Lcom/mojang/blaze3d/textures/TextureFormat;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
intermediary withUniform
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withUniform(Ljava/lang/String;Lnet/minecraft/class_10789;Lcom/mojang/blaze3d/textures/TextureFormat;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
official withUniform
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withUniform(Ljava/lang/String;Lfns;Lcom/mojang/blaze3d/textures/TextureFormat;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withDepthTestFunction
- Mappings:
Namespace Name Mixin selector named withDepthTestFunction
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withDepthTestFunction(Lcom/mojang/blaze3d/platform/DepthTestFunction;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
intermediary withDepthTestFunction
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withDepthTestFunction(Lcom/mojang/blaze3d/platform/DepthTestFunction;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
official withDepthTestFunction
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withDepthTestFunction(Lcom/mojang/blaze3d/platform/DepthTestFunction;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withPolygonMode
- Mappings:
Namespace Name Mixin selector named withPolygonMode
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withPolygonMode(Lcom/mojang/blaze3d/platform/PolygonMode;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
intermediary withPolygonMode
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withPolygonMode(Lcom/mojang/blaze3d/platform/PolygonMode;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
official withPolygonMode
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withPolygonMode(Lcom/mojang/blaze3d/platform/PolygonMode;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withCull
- Mappings:
Namespace Name Mixin selector named withCull
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withCull(Z)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
intermediary withCull
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withCull(Z)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
official withCull
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withCull(Z)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withBlend
- Mappings:
Namespace Name Mixin selector named withBlend
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withBlend(Lcom/mojang/blaze3d/pipeline/BlendFunction;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
intermediary withBlend
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withBlend(Lcom/mojang/blaze3d/pipeline/BlendFunction;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
official withBlend
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withBlend(Lcom/mojang/blaze3d/pipeline/BlendFunction;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withoutBlend
-
withColorWrite
- Mappings:
Namespace Name Mixin selector named withColorWrite
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withColorWrite(Z)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
intermediary withColorWrite
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withColorWrite(Z)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
official withColorWrite
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withColorWrite(Z)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withColorWrite
- Mappings:
Namespace Name Mixin selector named withColorWrite
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withColorWrite(ZZ)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
intermediary withColorWrite
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withColorWrite(ZZ)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
official withColorWrite
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withColorWrite(ZZ)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withDepthWrite
- Mappings:
Namespace Name Mixin selector named withDepthWrite
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withDepthWrite(Z)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
intermediary withDepthWrite
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withDepthWrite(Z)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
official withDepthWrite
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withDepthWrite(Z)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withColorLogic
Deprecated.- Mappings:
Namespace Name Mixin selector named withColorLogic
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withColorLogic(Lcom/mojang/blaze3d/platform/LogicOp;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
intermediary withColorLogic
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withColorLogic(Lcom/mojang/blaze3d/platform/LogicOp;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
official withColorLogic
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withColorLogic(Lcom/mojang/blaze3d/platform/LogicOp;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withVertexFormat
public RenderPipeline.Builder withVertexFormat(VertexFormat vertexFormat, VertexFormat.DrawMode vertexFormatMode) - Mappings:
Namespace Name Mixin selector named withVertexFormat
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withVertexFormat(Lcom/mojang/blaze3d/vertex/VertexFormat;Lcom/mojang/blaze3d/vertex/VertexFormat$DrawMode;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
intermediary withVertexFormat
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withVertexFormat(Lcom/mojang/blaze3d/vertex/VertexFormat;Lcom/mojang/blaze3d/vertex/VertexFormat$class_5596;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
official withVertexFormat
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withVertexFormat(Lcom/mojang/blaze3d/vertex/VertexFormat;Lcom/mojang/blaze3d/vertex/VertexFormat$b;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withDepthBias
- Mappings:
Namespace Name Mixin selector named withDepthBias
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withDepthBias(FF)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
intermediary withDepthBias
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withDepthBias(FF)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
official withDepthBias
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withDepthBias(FF)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withSnippet
- Mappings:
Namespace Name Mixin selector named withSnippet
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withSnippet(Lcom/mojang/blaze3d/pipeline/RenderPipeline$Snippet;)V
intermediary withSnippet
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withSnippet(Lcom/mojang/blaze3d/pipeline/RenderPipeline$Snippet;)V
official withSnippet
Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withSnippet(Lcom/mojang/blaze3d/pipeline/RenderPipeline$Snippet;)V
-
buildSnippet
-
build
-