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<Set<BindGroupLayout>>
bindGroupLayouts
private Optional<DepthStencilState>
depthStencilState
private Optional<PolygonMode>
polygonMode
private Optional<Boolean>
cull
private final ColorTargetState[]
colorTargetStates
private int
activeColorTargetStateCount
private final VertexFormat[]
vertexFormatPerBuffer
private Optional<DrawMode>
primitiveTopology

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
withBindGroupLayout(BindGroupLayout bindGroupLayout)
withBindGroupLayout(class_1_794 arg0)
withBindGroupLayout(BindGroupLayout bindGroupLayout)
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(int index, ColorTargetState colorTargetState)
withColorTargetState(int arg0, class_1_384 arg1)
withColorTargetState(int index, ColorTargetState colorTargetState)
public RenderPipeline$Builder
withColorTargetStates(int startIindex, int endIndex, Supplier<ColorTargetState> colorTargetState)
withColorTargetStates(int arg0, int arg1, Supplier<class_1_384> arg2)
withColorTargetStates(int first, int last, Supplier<ColorTargetState> colorTargetStateSupplier)
public RenderPipeline$Builder
withUnusedColorTargetState(int index)
withUnusedColorTargetState(int arg0)
withUnusedColorTargetState(int index)
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
withVertexBinding(int bindingIndex, VertexFormat vertexFormat)
withVertexBinding(int arg0, VertexFormat arg1)
withVertexBinding(int index, VertexFormat vertexFormat)
public RenderPipeline$Builder
withPrimitiveTopology(PrimitiveTopology primitiveTopology)
withPrimitiveTopology(class_5596 arg0)
withPrimitiveTopology(DrawMode drawMode)
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$0(List arg0)
lambda$withSnippet$0(List arg0)
lambda$withSnippet$0(List bindGroupLayouts)