Interface RenderPassBackend

All Known Implementing Classes:
GlRenderPass, VulkanRenderPass

public interface RenderPassBackend
  • 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, @Nullable GpuBufferSlice vertexBuffer)
    • setIndexBuffer

      void setIndexBuffer(GpuBuffer indexBuffer, IndexType indexType)
    • drawIndexed

      void drawIndexed(int indexCount, int instanceCount, int firstIndex, int vertexOffset, int firstInstance)
    • multiDrawIndexed

      void multiDrawIndexed(IntBuffer drawParameters, int instanceCount, int firstInstance, int drawCount)
    • multiDrawIndexed

      void multiDrawIndexed(PointerBuffer firstIndexOffsets, IntBuffer indexCounts, IntBuffer vertexOffsets, int drawCount)
    • drawIndexedIndirect

      void drawIndexedIndirect(GpuBufferSlice commands, int drawCount)
    • drawMultipleIndexed

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

      void draw(int vertexCount, int instanceCount, int firstVertex, int firstInstance)
    • multiDraw

      void multiDraw(IntBuffer drawParameters, int instanceCount, int firstInstance, int drawCount)
    • multiDraw

      void multiDraw(IntBuffer firstVertices, IntBuffer vertexCounts, int drawCount)
    • drawIndirect

      void drawIndirect(GpuBufferSlice commands, int drawCount)
    • writeTimestamp

      void writeTimestamp(GpuQueryPool pool, int index)