Interface RenderPassBackend

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
GlRenderPass

public interface RenderPassBackend extends AutoCloseable
  • Method Details

    • pushDebugGroup

      void pushDebugGroup(Supplier<String> label)
    • popDebugGroup

      void popDebugGroup()
    • setPipeline

      void setPipeline(RenderPipeline pipeline)
    • bindTexture

      void bindTexture(String name, @Nullable GpuTextureView textureView, @Nullable GpuSampler sampler)
    • setUniform

      void setUniform(String name, GpuBuffer value)
    • setUniform

      void setUniform(String name, GpuBufferSlice value)
    • setViewport

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

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

      void disableScissor()
    • setVertexBuffer

      void setVertexBuffer(int slot, GpuBuffer vertexBuffer)
    • setIndexBuffer

      void setIndexBuffer(GpuBuffer indexBuffer, VertexFormat.IndexType indexType)
    • drawIndexed

      void drawIndexed(int baseVertex, int firstIndex, int indexCount, int instanceCount)
    • drawMultipleIndexed

      <T> void drawMultipleIndexed(Collection<RenderPass.Draw<T>> draws, @Nullable GpuBuffer defaultIndexBuffer, @Nullable VertexFormat.IndexType defaultIndexType, Collection<String> dynamicUniforms, T uniformArgument)
    • draw

      void draw(int firstVertex, int vertexCount)
    • close

      void close()
      Specified by:
      close in interface AutoCloseable
    • isClosed

      boolean isClosed()