Flywheel/src/main/java/com/jozufozu/flywheel/api/FlywheelLevel.java
PepperCode1 360ed4aa29 State restoration confusion
- Do not wrap BeginFrameEvent and RenderStageEvent with GL restore state
- Move GL state restoration into InstancingEngine
- Remove BufferUploaderMixin
- Add binding enum values to GlBufferType
- Remove debugNormals config
- Rename some occurrences of "world" to "level"
2022-09-16 13:32:13 -07:00

14 lines
403 B
Java

package com.jozufozu.flywheel.api;
/**
* A marker interface custom levels can override to indicate
* that block entities and entities inside the level should
* render with Flywheel.
*
* {@link net.minecraft.client.Minecraft#level Minecraft#level} is special cased and will support Flywheel by default.
*/
public interface FlywheelLevel {
default boolean supportsFlywheel() {
return true;
}
}