Package com.mojang.blaze3d.systems
Interface RenderPass
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
GlRenderPass
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic interface -
Method Summary
Modifier and TypeMethodDescriptionvoidbindSampler(String name, GpuTexture texture) voidclose()voidvoidvoiddraw(int firstIndex, int indexCount) voiddrawIndexed(int firstIndex, int indexCount) voiddrawMultipleIndexed(Collection<RenderPass.Draw> draws, GpuBuffer buffer, VertexFormat.IndexType indexType) voidenableScissor(int x, int y, int width, int height) voidenableScissor(ScissorState scissorState) voidenableStencilTest(StencilTest stencilTest) voidsetIndexBuffer(GpuBuffer indexBuffer, VertexFormat.IndexType indexType) voidsetPipeline(RenderPipeline pipeline) voidsetUniform(String name, float... values) voidsetUniform(String name, int... values) voidsetUniform(String name, org.joml.Matrix4f values) voidsetVertexBuffer(int index, GpuBuffer buffer)
-
Method Details
-
setPipeline
-
bindSampler
-
setUniform
-
setUniform
-
setUniform
-
enableScissor
-
enableScissor
void enableScissor(int x, int y, int width, int height) -
disableScissor
void disableScissor() -
enableStencilTest
-
disableStencilTest
void disableStencilTest() -
setVertexBuffer
-
setIndexBuffer
-
drawIndexed
void drawIndexed(int firstIndex, int indexCount) -
drawMultipleIndexed
void drawMultipleIndexed(Collection<RenderPass.Draw> draws, @Nullable GpuBuffer buffer, @Nullable VertexFormat.IndexType indexType) -
draw
void draw(int firstIndex, int indexCount) -
close
void close()- Specified by:
closein interfaceAutoCloseable
-