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$Builderintermediary com/mojang/blaze3d/pipeline/RenderPipeline$Builderofficial com/mojang/blaze3d/pipeline/RenderPipeline$Builder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Optional<BlendFunction> private Optional<Defines.Builder> private floatprivate floatprivate Optional<DepthTestFunction> private Optional<Identifier> private Optional<Identifier> private static intprivate 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) voidwithSnippet(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 withLocationLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withLocation(Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;intermediary withLocationLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withLocation(Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;official withLocationLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withLocation(Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withLocation
- Mappings:
Namespace Name Mixin selector named withLocationLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withLocation(Lnet/minecraft/util/Identifier;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;intermediary withLocationLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withLocation(Lnet/minecraft/class_2960;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;official withLocationLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withLocation(Lamj;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withFragmentShader
- Mappings:
Namespace Name Mixin selector named withFragmentShaderLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withFragmentShader(Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;intermediary withFragmentShaderLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withFragmentShader(Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;official withFragmentShaderLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withFragmentShader(Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withFragmentShader
- Mappings:
Namespace Name Mixin selector named withFragmentShaderLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withFragmentShader(Lnet/minecraft/util/Identifier;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;intermediary withFragmentShaderLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withFragmentShader(Lnet/minecraft/class_2960;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;official withFragmentShaderLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withFragmentShader(Lamj;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withVertexShader
-
withVertexShader
- Mappings:
Namespace Name Mixin selector named withVertexShaderLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withVertexShader(Lnet/minecraft/util/Identifier;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;intermediary withVertexShaderLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withVertexShader(Lnet/minecraft/class_2960;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;official withVertexShaderLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withVertexShader(Lamj;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withShaderDefine
- Mappings:
Namespace Name Mixin selector named withShaderDefineLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withShaderDefine(Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;intermediary withShaderDefineLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withShaderDefine(Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;official withShaderDefineLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withShaderDefine(Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withShaderDefine
- Mappings:
Namespace Name Mixin selector named withShaderDefineLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withShaderDefine(Ljava/lang/String;I)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;intermediary withShaderDefineLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withShaderDefine(Ljava/lang/String;I)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;official withShaderDefineLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withShaderDefine(Ljava/lang/String;I)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withShaderDefine
- Mappings:
Namespace Name Mixin selector named withShaderDefineLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withShaderDefine(Ljava/lang/String;F)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;intermediary withShaderDefineLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withShaderDefine(Ljava/lang/String;F)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;official withShaderDefineLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withShaderDefine(Ljava/lang/String;F)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withSampler
- Mappings:
Namespace Name Mixin selector named withSamplerLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withSampler(Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;intermediary withSamplerLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withSampler(Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;official withSamplerLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withSampler(Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withUniform
- Mappings:
Namespace Name Mixin selector named withUniformLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withUniform(Ljava/lang/String;Lnet/minecraft/client/gl/UniformType;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;intermediary withUniformLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withUniform(Ljava/lang/String;Lnet/minecraft/class_10789;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;official withUniformLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withUniform(Ljava/lang/String;Lftp;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withUniform
- Mappings:
Namespace Name Mixin selector named withUniformLcom/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 withUniformLcom/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 withUniformLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withUniform(Ljava/lang/String;Lftp;Lcom/mojang/blaze3d/textures/TextureFormat;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withDepthTestFunction
- Mappings:
Namespace Name Mixin selector named withDepthTestFunctionLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withDepthTestFunction(Lcom/mojang/blaze3d/platform/DepthTestFunction;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;intermediary withDepthTestFunctionLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withDepthTestFunction(Lcom/mojang/blaze3d/platform/DepthTestFunction;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;official withDepthTestFunctionLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withDepthTestFunction(Lcom/mojang/blaze3d/platform/DepthTestFunction;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withPolygonMode
- Mappings:
Namespace Name Mixin selector named withPolygonModeLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withPolygonMode(Lcom/mojang/blaze3d/platform/PolygonMode;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;intermediary withPolygonModeLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withPolygonMode(Lcom/mojang/blaze3d/platform/PolygonMode;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;official withPolygonModeLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withPolygonMode(Lcom/mojang/blaze3d/platform/PolygonMode;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withCull
- Mappings:
Namespace Name Mixin selector named withCullLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withCull(Z)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;intermediary withCullLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withCull(Z)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;official withCullLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withCull(Z)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withBlend
- Mappings:
Namespace Name Mixin selector named withBlendLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withBlend(Lcom/mojang/blaze3d/pipeline/BlendFunction;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;intermediary withBlendLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withBlend(Lcom/mojang/blaze3d/pipeline/BlendFunction;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;official withBlendLcom/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 withColorWriteLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withColorWrite(Z)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;intermediary withColorWriteLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withColorWrite(Z)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;official withColorWriteLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withColorWrite(Z)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withColorWrite
- Mappings:
Namespace Name Mixin selector named withColorWriteLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withColorWrite(ZZ)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;intermediary withColorWriteLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withColorWrite(ZZ)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;official withColorWriteLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withColorWrite(ZZ)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withDepthWrite
- Mappings:
Namespace Name Mixin selector named withDepthWriteLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withDepthWrite(Z)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;intermediary withDepthWriteLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withDepthWrite(Z)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;official withDepthWriteLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withDepthWrite(Z)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withColorLogic
Deprecated.- Mappings:
Namespace Name Mixin selector named withColorLogicLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withColorLogic(Lcom/mojang/blaze3d/platform/LogicOp;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;intermediary withColorLogicLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withColorLogic(Lcom/mojang/blaze3d/platform/LogicOp;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;official withColorLogicLcom/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 withVertexFormatLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withVertexFormat(Lcom/mojang/blaze3d/vertex/VertexFormat;Lcom/mojang/blaze3d/vertex/VertexFormat$DrawMode;)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;intermediary withVertexFormatLcom/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 withVertexFormatLcom/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 withDepthBiasLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withDepthBias(FF)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;intermediary withDepthBiasLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withDepthBias(FF)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;official withDepthBiasLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withDepthBias(FF)Lcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;
-
withSnippet
- Mappings:
Namespace Name Mixin selector named withSnippetLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withSnippet(Lcom/mojang/blaze3d/pipeline/RenderPipeline$Snippet;)Vintermediary withSnippetLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withSnippet(Lcom/mojang/blaze3d/pipeline/RenderPipeline$Snippet;)Vofficial withSnippetLcom/mojang/blaze3d/pipeline/RenderPipeline$Builder;withSnippet(Lcom/mojang/blaze3d/pipeline/RenderPipeline$Snippet;)V
-
buildSnippet
-
build
-