Package foundry.veil.api.event
Interface VeilRegisterFixedBuffersEvent.Registry
- Enclosing interface:
- VeilRegisterFixedBuffersEvent
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Registers additional fixed render buffers.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
registerFixedBuffer
(VeilRenderLevelStageEvent.Stage stage, net.minecraft.client.renderer.RenderType renderType) Registers the specified render type as a fixed buffer.
-
Method Details
-
registerFixedBuffer
void registerFixedBuffer(@Nullable VeilRenderLevelStageEvent.Stage stage, net.minecraft.client.renderer.RenderType renderType) Registers the specified render type as a fixed buffer. That means all render calls using it will be batched until the specified stage is drawn.- Parameters:
stage
- The stage to draw the buffer after ornull
to do it manuallyrenderType
- The render type to register
-