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 static intprivate Optional<PolygonMode> private Optional<StencilTest> 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) 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(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) withStencilTest(StencilTest stencilTest) withUniform(String uniform, UniformType type) withUniform(String uniform, UniformType type, TextureFormat format) withVertexFormat(VertexFormat vertexFormat, VertexFormat.Mode vertexFormatMode) withVertexShader(String vertexShader) withVertexShader(ResourceLocation 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
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
-