Package com.mojang.blaze3d.pipeline
Class RenderPipeline.Builder
java.lang.Object
com.mojang.blaze3d.pipeline.RenderPipeline.Builder
- Enclosing class:
RenderPipeline
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Optional
<BlendFunction> private Optional
<ShaderDefines.Builder> private float
private float
private Optional
<DepthTestFunction> private Optional
<ResourceLocation> private Optional
<ResourceLocation> private Optional
<PolygonMode> private Optional
<List<RenderPipeline.UniformDescription>> private Optional
<VertexFormat> private Optional
<VertexFormat.Mode> private Optional
<ResourceLocation> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
withBlend
(BlendFunction pBlendFunction) withColorLogic
(LogicOp pColorLogic) withColorWrite
(boolean pWriteColor) withColorWrite
(boolean pWriteColor, boolean pWriteAlpha) withCull
(boolean pCull) withDepthBias
(float pScaleFactor, float pConstant) withDepthTestFunction
(DepthTestFunction pDepthTestFunction) withDepthWrite
(boolean pWriteDepth) withFragmentShader
(String pFragmentShader) withFragmentShader
(ResourceLocation pFragmentShader) withLocation
(String pLocation) withLocation
(ResourceLocation pLocation) withPolygonMode
(PolygonMode pPolygonMode) withSampler
(String pSampler) withShaderDefine
(String pFlag) withShaderDefine
(String pKey, float pValue) withShaderDefine
(String pKey, int pValue) (package private) void
withSnippet
(RenderPipeline.Snippet pSnippet) withUniform
(String pUniform, UniformType pType) withVertexFormat
(VertexFormat pVertexFormat, VertexFormat.Mode pVertexFormatMode) withVertexShader
(String pVertexShader) withVertexShader
(ResourceLocation pVertexShader)
-
Field Details
-
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
-
withLocation
-
withFragmentShader
-
withFragmentShader
-
withVertexShader
-
withVertexShader
-
withShaderDefine
-
withShaderDefine
-
withShaderDefine
-
withSampler
-
withUniform
-
withDepthTestFunction
-
withPolygonMode
-
withCull
-
withBlend
-
withoutBlend
-
withColorWrite
-
withColorWrite
-
withDepthWrite
-
withColorLogic
-
withVertexFormat
public RenderPipeline.Builder withVertexFormat(VertexFormat pVertexFormat, VertexFormat.Mode pVertexFormatMode) -
withDepthBias
-
withSnippet
-
buildSnippet
-
build
-