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 floatprivate floatprivate 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 blendFunction) withColorLogic(LogicOp colorLogic) 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(ResourceLocation fragmentShader) withLocation(String location) withLocation(ResourceLocation location) withPolygonMode(PolygonMode polygonMode) withSampler(String sampler) withShaderDefine(String flag) withShaderDefine(String key, float value) withShaderDefine(String key, int value) (package private) voidwithSnippet(RenderPipeline.Snippet snippet) withUniform(String uniform, UniformType type) withVertexFormat(VertexFormat vertexFormat, VertexFormat.Mode vertexFormatMode) withVertexShader(String vertexShader) withVertexShader(ResourceLocation vertexShader)
-
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.Mode vertexFormatMode) -
withDepthBias
-
withSnippet
-
buildSnippet
-
build
-