Class DynamicBufferManger
java.lang.Object
foundry.veil.impl.client.render.dynamicbuffer.DynamicBufferManger
- All Implemented Interfaces:
AutoCloseable
,org.lwjgl.system.NativeResource
-
Field Summary
Modifier and TypeFieldDescriptionstatic final net.minecraft.resources.ResourceLocation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
void
void
free()
int
int
static int
getShaderIndex
(int glType, int activeBuffers) void
resizeFramebuffers
(int width, int height) boolean
setActiveBuffers
(int activeBuffers) void
setEnabled
(boolean enabled) void
setupRenderState
(net.minecraft.resources.ResourceLocation name, @Nullable com.mojang.blaze3d.pipeline.RenderTarget renderTarget) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
Field Details
-
MAIN_WRAPPER
public static final net.minecraft.resources.ResourceLocation MAIN_WRAPPER
-
-
Constructor Details
-
DynamicBufferManger
public DynamicBufferManger(int width, int height)
-
-
Method Details
-
getActiveBuffers
public int getActiveBuffers() -
getBufferTexture
-
setActiveBuffers
public boolean setActiveBuffers(int activeBuffers) -
setEnabled
@Internal public void setEnabled(boolean enabled) -
free
public void free()- Specified by:
free
in interfaceorg.lwjgl.system.NativeResource
-
setupRenderState
@Internal public void setupRenderState(net.minecraft.resources.ResourceLocation name, @Nullable @Nullable com.mojang.blaze3d.pipeline.RenderTarget renderTarget) -
clearRenderState
@Internal public void clearRenderState() -
clear
@Internal public void clear() -
resizeFramebuffers
@Internal public void resizeFramebuffers(int width, int height) -
getShaderIndex
public static int getShaderIndex(int glType, int activeBuffers)
-