Package com.mojang.blaze3d.pipeline
Class RenderPipeline
java.lang.Object
com.mojang.blaze3d.pipeline.RenderPipeline
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final recordstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Optional<BlendFunction> private final LogicOpprivate final booleanprivate final floatprivate final floatprivate final DepthTestFunctionprivate final Identifierprivate final Identifierprivate final PolygonModeprivate final Definesprivate final List<RenderPipeline.UniformDescription> private final VertexFormatprivate final VertexFormat.DrawModeprivate final Identifierprivate final booleanprivate final booleanprivate final boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRenderPipeline(Identifier identifier, Identifier identifier2, Identifier identifier3, Defines defines, List<String> list, List<RenderPipeline.UniformDescription> list2, Optional<BlendFunction> optional, DepthTestFunction depthTestFunction, PolygonMode polygonMode, boolean bool, boolean bool2, boolean bool3, boolean bool4, LogicOp logicOp, VertexFormat vertexFormat, VertexFormat.DrawMode drawMode, float float2, float float3) -
Method Summary
Modifier and TypeMethodDescriptionstatic RenderPipeline.Builderbuilder(RenderPipeline.Snippet[] snippet) floatfloatbooleanisCull()booleanbooleanbooleantoString()boolean
-
Field Details
-
location
-
vertexShader
-
fragmentShader
-
shaderDefines
-
samplers
-
uniforms
-
depthTestFunction
-
polygonMode
-
cull
private final boolean cull -
colorLogic
-
blendFunction
-
writeColor
private final boolean writeColor -
writeAlpha
private final boolean writeAlpha -
writeDepth
private final boolean writeDepth -
vertexFormat
-
vertexFormatMode
-
depthBiasScaleFactor
private final float depthBiasScaleFactor -
depthBiasConstant
private final float depthBiasConstant
-
-
Constructor Details
-
RenderPipeline
protected RenderPipeline(Identifier identifier, Identifier identifier2, Identifier identifier3, Defines defines, List<String> list, List<RenderPipeline.UniformDescription> list2, Optional<BlendFunction> optional, DepthTestFunction depthTestFunction, PolygonMode polygonMode, boolean bool, boolean bool2, boolean bool3, boolean bool4, LogicOp logicOp, VertexFormat vertexFormat, VertexFormat.DrawMode drawMode, float float2, float float3)
-
-
Method Details
-
toString
-
getDepthTestFunction
-
getPolygonMode
-
isCull
public boolean isCull() -
getColorLogic
-
getBlendFunction
-
isWriteColor
public boolean isWriteColor() -
isWriteAlpha
public boolean isWriteAlpha() -
isWriteDepth
public boolean isWriteDepth() -
getDepthBiasScaleFactor
public float getDepthBiasScaleFactor() -
getDepthBiasConstant
public float getDepthBiasConstant() -
getLocation
-
getVertexFormat
-
getVertexFormatMode
-
getVertexShader
-
getFragmentShader
-
getShaderDefines
-
getSamplers
-
getUniforms
-
wantsDepthTexture
public boolean wantsDepthTexture() -
builder
-