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<Defines.Builder> private floatprivate floatprivate Optional<DepthTestFunction> private Optional<Identifier> private Optional<Identifier> 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 logicOp) withColorWrite(boolean bool) withColorWrite(boolean bool, boolean bool2) withCull(boolean bool) withDepthBias(float float2, float float3) withDepthTestFunction(DepthTestFunction depthTestFunction) withDepthWrite(boolean bool) withFragmentShader(String string) withFragmentShader(Identifier identifier) withLocation(String string) withLocation(Identifier identifier) withPolygonMode(PolygonMode polygonMode) withSampler(String string) withShaderDefine(String string) withShaderDefine(String string, float float2) withShaderDefine(String string, int int2) (package private) voidwithSnippet(RenderPipeline.Snippet snippet) withUniform(String string, UniformType uniformType) withVertexFormat(VertexFormat vertexFormat, VertexFormat.DrawMode drawMode) withVertexShader(String string) withVertexShader(Identifier identifier)
-
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 vertexFormat, VertexFormat.DrawMode drawMode) -
withDepthBias
-
withSnippet
-
buildSnippet
-
build
-