com.mojang.blaze3d.pipeline

public class RenderPipeline$Builder

com.mojang.blaze3d.pipeline.RenderPipeline$Builder
com.mojang.blaze3d.pipeline.RenderPipeline$Builder
com.mojang.blaze3d.pipeline.RenderPipeline$Builder

Field summary

Modifier and TypeField
private static int
nextPipelineSortKey
private Optional<Identifier>
location
private Optional<Identifier>
fragmentShader
private Optional<Identifier>
vertexShader
private Optional<Defines$Builder>
definesBuilder
private Optional<List<String>>
samplers
private Optional<List<RenderPipeline$UniformDescription>>
uniforms
private Optional<DepthStencilState>
depthStencilState
private Optional<PolygonMode>
polygonMode
private Optional<Boolean>
cull
private Optional<ColorTargetState>
colorTargetState
private Optional<VertexFormat>
vertexFormat
private Optional<VertexFormat$DrawMode>
vertexFormatMode

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
public RenderPipeline$Builder
withLocation(String location)
withLocation(String arg0)
withLocation(String location)
public RenderPipeline$Builder
withLocation(Identifier location)
withLocation(class_2960 arg0)
withLocation(Identifier location)
public RenderPipeline$Builder
withFragmentShader(String fragmentShader)
withFragmentShader(String arg0)
withFragmentShader(String fragmentShader)
public RenderPipeline$Builder
withFragmentShader(Identifier fragmentShader)
withFragmentShader(class_2960 arg0)
withFragmentShader(Identifier fragmentShader)
public RenderPipeline$Builder
withVertexShader(String vertexShader)
withVertexShader(String arg0)
withVertexShader(String vertexShader)
public RenderPipeline$Builder
withVertexShader(Identifier vertexShader)
withVertexShader(class_2960 arg0)
withVertexShader(Identifier vertexShader)
public RenderPipeline$Builder
withShaderDefine(String key)
withShaderDefine(String arg0)
withShaderDefine(String flag)
public RenderPipeline$Builder
withShaderDefine(String key, int value)
withShaderDefine(String arg0, int arg1)
withShaderDefine(String name, int value)
public RenderPipeline$Builder
withShaderDefine(String key, float value)
withShaderDefine(String arg0, float arg1)
withShaderDefine(String name, float value)
public RenderPipeline$Builder
withSampler(String sampler)
withSampler(String arg0)
withSampler(String sampler)
public RenderPipeline$Builder
withUniform(String name, UniformType type)
withUniform(String arg0, class_10789 arg1)
withUniform(String name, UniformType type)
public RenderPipeline$Builder
withUniform(String name, UniformType type, TextureFormat format)
withUniform(String arg0, class_10789 arg1, TextureFormat arg2)
withUniform(String name, UniformType type, TextureFormat format)
public RenderPipeline$Builder
withPolygonMode(PolygonMode polygonMode)
withPolygonMode(com.mojang.blaze3d.platform.PolygonMode arg0)
withPolygonMode(com.mojang.blaze3d.platform.PolygonMode polygonMode)
public RenderPipeline$Builder
withCull(boolean cull)
withCull(boolean arg0)
withCull(boolean cull)
public RenderPipeline$Builder
withColorTargetState(ColorTargetState colorTargetState)
withColorTargetState(class_1_384 arg0)
withColorTargetState(ColorTargetState colorTargetState)
public RenderPipeline$Builder
withDepthStencilState(DepthStencilState depthStencilState)
withDepthStencilState(class_1_386 arg0)
withDepthStencilState(DepthStencilState depthStencilState)
public RenderPipeline$Builder
withDepthStencilState(Optional<DepthStencilState> depthStencilState)
withDepthStencilState(Optional<class_1_386> arg0)
withDepthStencilState(Optional<DepthStencilState> depthStencilState)
public RenderPipeline$Builder
withVertexFormat(VertexFormat vertexFormat, VertexFormat$Mode vertexFormatMode)
withVertexFormat(VertexFormat arg0, VertexFormat$class_5596 arg1)
withVertexFormat(VertexFormat vertexFormat, VertexFormat$DrawMode vertexFormatMode)
private void
withSnippet(RenderPipeline$Snippet snippet)
withSnippet(RenderPipeline$Snippet arg0)
withSnippet(RenderPipeline$Snippet snippet)
public RenderPipeline$Snippet
buildSnippet()
public RenderPipeline
build()
private void
lambda$withSnippet$1(List arg0)
lambda$withSnippet$1(List arg0)
lambda$withSnippet$1(List uniforms)
private void
lambda$withSnippet$0(List arg0)
lambda$withSnippet$0(List arg0)
lambda$withSnippet$0(List samplers)