Class CombinedStencilElement
java.lang.Object
com.simibubi.create.foundation.gui.element.RenderElement
com.simibubi.create.foundation.gui.element.StencilElement
com.simibubi.create.foundation.gui.element.CombinedStencilElement
- All Implemented Interfaces:
ScreenElement
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.simibubi.create.foundation.gui.element.RenderElement
RenderElement.SimpleRenderElement -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CombinedStencilElementof(StencilElement element1, StencilElement element2)static CombinedStencilElementof(StencilElement element1, StencilElement element2, CombinedStencilElement.ElementMode mode)protected voidrenderElement(com.mojang.blaze3d.vertex.PoseStack ms)protected voidrenderStencil(com.mojang.blaze3d.vertex.PoseStack ms)<T extends CombinedStencilElement>
TwithFirst(StencilElement element)<T extends CombinedStencilElement>
T<T extends CombinedStencilElement>
TwithSecond(StencilElement element)Methods inherited from class com.simibubi.create.foundation.gui.element.StencilElement
cleanUp, prepareElement, prepareStencil, render, transform
-
Method Details
-
of
public static CombinedStencilElement of(@Nonnull StencilElement element1, @Nonnull StencilElement element2) -
of
public static CombinedStencilElement of(@Nonnull StencilElement element1, @Nonnull StencilElement element2, CombinedStencilElement.ElementMode mode) -
withFirst
-
withSecond
-
withMode
-
renderStencil
protected void renderStencil(com.mojang.blaze3d.vertex.PoseStack ms)- Specified by:
renderStencilin classStencilElement
-
renderElement
protected void renderElement(com.mojang.blaze3d.vertex.PoseStack ms)- Specified by:
renderElementin classStencilElement
-