Interface FabricRenderPipeline.Snippet
- Enclosing interface:
FabricRenderPipeline
public static interface FabricRenderPipeline.Snippet
General purpose Fabric extensions to the
RenderPipeline.Snippet class.
Note: This interface is automatically implemented on all render pipeline snippets via Mixin and interface injection.
-
Method Summary
Modifier and TypeMethodDescriptionReturns whether the pipeline draw mode should be used for GUI rendering.static com.mojang.blaze3d.pipeline.RenderPipeline.SnippetwithoutPipelineDrawModeForGui(com.mojang.blaze3d.pipeline.RenderPipeline.Snippet base) Creates a new snippet without the pipeline draw mode for GUI rendering.static com.mojang.blaze3d.pipeline.RenderPipeline.SnippetwithPipelineDrawModeForGui(com.mojang.blaze3d.pipeline.RenderPipeline.Snippet base, boolean usePipelineDrawMode) Creates a new snippet with the specified pipeline draw mode for GUI rendering.
-
Method Details
-
usePipelineDrawModeForGui
-
withPipelineDrawModeForGui
static com.mojang.blaze3d.pipeline.RenderPipeline.Snippet withPipelineDrawModeForGui(com.mojang.blaze3d.pipeline.RenderPipeline.Snippet base, boolean usePipelineDrawMode) Creates a new snippet with the specified pipeline draw mode for GUI rendering.- Parameters:
usePipelineDrawMode- true if the pipeline draw mode should be used for GUI rendering, false otherwise.- Returns:
- a new RenderPipeline.Snippet instance with the specified pipeline draw mode.
-
withoutPipelineDrawModeForGui
static com.mojang.blaze3d.pipeline.RenderPipeline.Snippet withoutPipelineDrawModeForGui(com.mojang.blaze3d.pipeline.RenderPipeline.Snippet base) Creates a new snippet without the pipeline draw mode for GUI rendering.- Returns:
- a new RenderPipeline.Snippet instance without any effect on whether the pipeline draw mode will be used for GUI rendering.
-