Package com.mojang.blaze3d.systems
Interface RenderPass
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
RenderPassImpl
- Mappings:
Namespace Name named com/mojang/blaze3d/systems/RenderPassintermediary com/mojang/blaze3d/systems/RenderPassofficial com/mojang/blaze3d/systems/RenderPass
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic interface -
Method Summary
Modifier and TypeMethodDescriptionvoidbindSampler(String string, GpuTexture gpuTexture) voidclose()voidvoiddraw(int int2, int int3) voiddrawIndexed(int int2, int int3) voiddrawMultipleIndexed(Collection<RenderPass.RenderObject> collection, @Nullable GpuBuffer gpuBuffer, VertexFormat.IndexType indexType) voidenableScissor(int int2, int int3, int int4, int int5) voidenableScissor(ScissorState scissorState) voidsetIndexBuffer(GpuBuffer gpuBuffer, VertexFormat.IndexType indexType) voidsetPipeline(RenderPipeline renderPipeline) voidsetUniform(String string, float[] float2) voidsetUniform(String string, int[] int2) voidsetUniform(String string, Matrix4f matrix4f) voidsetVertexBuffer(int int2, GpuBuffer gpuBuffer)
-
Method Details
-
setPipeline
-
bindSampler
-
setUniform
-
setUniform
-
setUniform
-
enableScissor
-
enableScissor
void enableScissor(int int2, int int3, int int4, int int5) -
disableScissor
void disableScissor() -
setVertexBuffer
-
setIndexBuffer
-
drawIndexed
void drawIndexed(int int2, int int3) -
drawMultipleIndexed
void drawMultipleIndexed(Collection<RenderPass.RenderObject> collection, @Nullable @Nullable GpuBuffer gpuBuffer, @Nullable VertexFormat.IndexType indexType) -
draw
void draw(int int2, int int3) -
close
void close()- Specified by:
closein interfaceAutoCloseable
-