Package com.mojang.blaze3d.pipeline
Class RenderPipeline
java.lang.Object
com.mojang.blaze3d.pipeline.RenderPipeline
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static final record
static final record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Optional
<BlendFunction> private final LogicOp
private final boolean
private final float
private final float
private final DepthTestFunction
private final ResourceLocation
private final ResourceLocation
private final PolygonMode
private final ShaderDefines
private final List
<RenderPipeline.UniformDescription> private final VertexFormat
private final VertexFormat.Mode
private final ResourceLocation
private final boolean
private final boolean
private final boolean
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RenderPipeline
(ResourceLocation p_405403_, ResourceLocation p_405389_, ResourceLocation p_404945_, ShaderDefines p_405426_, List<String> p_405334_, List<RenderPipeline.UniformDescription> p_404693_, Optional<BlendFunction> p_404667_, DepthTestFunction p_410224_, PolygonMode p_409822_, boolean p_404907_, boolean p_405688_, boolean p_405411_, boolean p_405477_, LogicOp p_410051_, VertexFormat p_405109_, VertexFormat.Mode p_404708_, float p_410755_, float p_409999_) -
Method Summary
Modifier and TypeMethodDescriptionstatic RenderPipeline.Builder
builder
(RenderPipeline.Snippet... p_405781_) float
float
boolean
isCull()
boolean
boolean
boolean
Neo: Create aRenderPipeline.Builder
from thisRenderPipeline
to adjust its configuration and build a new, modifiedRenderPipeline
from ittoString()
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(ResourceLocation p_405403_, ResourceLocation p_405389_, ResourceLocation p_404945_, ShaderDefines p_405426_, List<String> p_405334_, List<RenderPipeline.UniformDescription> p_404693_, Optional<BlendFunction> p_404667_, DepthTestFunction p_410224_, PolygonMode p_409822_, boolean p_404907_, boolean p_405688_, boolean p_405411_, boolean p_405477_, LogicOp p_410051_, VertexFormat p_405109_, VertexFormat.Mode p_404708_, float p_410755_, float p_409999_)
-
-
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() -
toBuilder
Neo: Create aRenderPipeline.Builder
from thisRenderPipeline
to adjust its configuration and build a new, modifiedRenderPipeline
from it -
builder
-