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 pLocation, ResourceLocation pVertexShader, ResourceLocation pFragmentShader, ShaderDefines pShaderDefines, List<String> pSamplers, List<RenderPipeline.UniformDescription> pUniforms, Optional<BlendFunction> pBlendFunction, DepthTestFunction pDepthTestFunction, PolygonMode pPolygonMode, boolean pCull, boolean pWriteColor, boolean pWriteAlpha, boolean pWriteDepth, LogicOp pColorLogic, VertexFormat pVertexFormat, VertexFormat.Mode pVertexFormatMode, float pDepthBiasScaleFactor, float pDepthBiasConstant) -
Method Summary
Modifier and TypeMethodDescriptionstatic RenderPipeline.Builder
builder
(RenderPipeline.Snippet... pSnippets) 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 pLocation, ResourceLocation pVertexShader, ResourceLocation pFragmentShader, ShaderDefines pShaderDefines, List<String> pSamplers, List<RenderPipeline.UniformDescription> pUniforms, Optional<BlendFunction> pBlendFunction, DepthTestFunction pDepthTestFunction, PolygonMode pPolygonMode, boolean pCull, boolean pWriteColor, boolean pWriteAlpha, boolean pWriteDepth, LogicOp pColorLogic, VertexFormat pVertexFormat, VertexFormat.Mode pVertexFormatMode, float pDepthBiasScaleFactor, float pDepthBiasConstant)
-
-
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
-