Class RenderPipeline.Builder
java.lang.Object
com.mojang.blaze3d.pipeline.RenderPipeline.Builder
- Enclosing class:
RenderPipeline
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate Optional<List<BindGroupLayout>> private final @Nullable ColorTargetState[]private Optional<ShaderDefines.Builder> private Optional<DepthStencilState> private Optional<Identifier> private Optional<Identifier> private static intprivate Optional<PolygonMode> private Optional<PrimitiveTopology> private Optional<StencilTest> private final @Nullable VertexFormat[]private Optional<Identifier> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withBindGroupLayout(BindGroupLayout bindGroupLayout) withColorTargetState(int index, ColorTargetState colorTargetState) withColorTargetState(ColorTargetState colorTargetState) withCull(boolean cull) withDepthStencilState(DepthStencilState depthStencilState) withDepthStencilState(Optional<DepthStencilState> depthStencilState) withFragmentShader(String fragmentShader) withFragmentShader(Identifier fragmentShader) withLocation(String location) withLocation(Identifier location) withPolygonMode(PolygonMode polygonMode) withPrimitiveTopology(PrimitiveTopology primitiveTopology) withShaderDefine(String key) withShaderDefine(String key, float value) withShaderDefine(String key, int value) private voidwithSnippet(RenderPipeline.Snippet snippet) withStencilTest(StencilTest stencilTest) withUnusedColorTargetState(int index) withVertexBinding(int bindingIndex, VertexFormat vertexFormat) withVertexShader(String vertexShader) withVertexShader(Identifier vertexShader)
-
Field Details
-
nextPipelineSortKey
private static int nextPipelineSortKey -
location
-
fragmentShader
-
vertexShader
-
definesBuilder
-
bindGroupLayouts
-
depthStencilState
-
polygonMode
-
cull
-
colorTargetStates
-
activeColorTargetStateCount
private int activeColorTargetStateCount -
vertexFormatPerBuffer
-
primitiveTopology
-
stencilTest
-
-
Constructor Details
-
Builder
private Builder()
-
-
Method Details
-
withLocation
-
withLocation
-
withFragmentShader
-
withFragmentShader
-
withVertexShader
-
withVertexShader
-
withShaderDefine
-
withShaderDefine
-
withShaderDefine
-
withBindGroupLayout
-
withPolygonMode
-
withCull
-
withColorTargetState
-
withUnusedColorTargetState
-
withColorTargetState
-
withDepthStencilState
-
withDepthStencilState
-
withVertexBinding
-
withPrimitiveTopology
-
withStencilTest
-
withoutStencilTest
-
withSnippet
-
buildSnippet
-
build
-