Interface RenderPass

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
GlRenderPass

public interface RenderPass extends AutoCloseable
  • Method Details

    • setPipeline

      void setPipeline(RenderPipeline pipeline)
    • bindSampler

      void bindSampler(String name, GpuTexture texture)
    • setUniform

      void setUniform(String name, int... values)
    • setUniform

      void setUniform(String name, float... values)
    • setUniform

      void setUniform(String name, org.joml.Matrix4f values)
    • enableScissor

      void enableScissor(ScissorState scissorState)
    • enableScissor

      void enableScissor(int x, int y, int width, int height)
    • disableScissor

      void disableScissor()
    • enableStencilTest

      void enableStencilTest(StencilTest stencilTest)
    • disableStencilTest

      void disableStencilTest()
    • setVertexBuffer

      void setVertexBuffer(int index, GpuBuffer buffer)
    • setIndexBuffer

      void setIndexBuffer(GpuBuffer indexBuffer, VertexFormat.IndexType indexType)
    • 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:
      close in interface AutoCloseable