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 floatprivate floatprivate Optional<DepthTestFunction> private Optional<Identifier> private Optional<Identifier> private static intprivate Optional<PolygonMode> private Optional<StencilTest> private Optional<List<RenderPipeline.UniformDescription>> private Optional<VertexFormat> private Optional<VertexFormat.Mode> 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 scaleFactor, float constant) 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 key) withShaderDefine(String key, float value) withShaderDefine(String key, int value) private voidwithSnippet(RenderPipeline.Snippet snippet) withStencilTest(StencilTest stencilTest) withUniform(String name, UniformType type) withUniform(String name, UniformType type, TextureFormat format) withVertexFormat(VertexFormat vertexFormat, VertexFormat.Mode vertexFormatMode) withVertexShader(String vertexShader) 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 -
stencilTest
-
-
Constructor Details
-
Builder
private Builder()
-
-
Method Details
-
withLocation
-
withLocation
-
withFragmentShader
-
withFragmentShader
-
withVertexShader
-
withVertexShader
-
withShaderDefine
-
withShaderDefine
-
withShaderDefine
-
withSampler
-
withUniform
-
withUniform
-
withDepthTestFunction
-
withPolygonMode
-
withCull
-
withBlend
-
withoutBlend
-
withColorWrite
-
withColorWrite
-
withDepthWrite
-
withColorLogic
Deprecated. -
withVertexFormat
public RenderPipeline.Builder withVertexFormat(VertexFormat vertexFormat, VertexFormat.Mode vertexFormatMode) -
withDepthBias
-
withStencilTest
-
withoutStencilTest
-
withSnippet
-
buildSnippet
-
build
-