Interface CommandEncoderBackend

All Known Implementing Classes:
GlCommandEncoder, VulkanCommandEncoder

public interface CommandEncoderBackend
  • Method Details

    • submit

      void submit()
    • transientMemory

      TransientMemory transientMemory()
    • createRenderPass

      RenderPassBackend createRenderPass(RenderPassDescriptor descriptor)
    • submitRenderPass

      void submitRenderPass()
    • clearColorTexture

      void clearColorTexture(GpuTexture colorTexture, Vector4fc clearColor)
    • clearColorAndDepthTextures

      void clearColorAndDepthTextures(GpuTexture colorTexture, Vector4fc clearColor, GpuTexture depthTexture, double clearDepth)
    • clearColorAndDepthTextures

      void clearColorAndDepthTextures(GpuTexture colorTexture, Vector4fc clearColor, GpuTexture depthTexture, double clearDepth, int regionX, int regionY, int regionWidth, int regionHeight)
    • clearDepthTexture

      void clearDepthTexture(GpuTexture depthTexture, double clearDepth)
    • clearStencilTexture

      void clearStencilTexture(GpuTexture texture, int value)
    • writeToBuffer

      void writeToBuffer(GpuBufferSlice destination, ByteBuffer data)
    • copyToBuffer

      void copyToBuffer(GpuBufferSlice source, GpuBufferSlice target)
    • writeToTexture

      void writeToTexture(GpuTexture destination, ByteBuffer source, int mipLevel, int depthOrLayer, int destX, int destY, int width, int height)
    • copyBufferToTexture

      void copyBufferToTexture(GpuBufferSlice source, int sourceX, int sourceY, int sourceWidth, int sourceHeight, GpuTexture destination, int destinationX, int destinationY, int copyWidth, int copyHeight, int mipLevel, int arrayLayer)
    • copyTextureToBuffer

      void copyTextureToBuffer(GpuTexture source, GpuBuffer destination, long offset, Runnable callback, int mipLevel)
    • copyTextureToBuffer

      void copyTextureToBuffer(GpuTexture source, GpuBuffer destination, long offset, Runnable callback, int mipLevel, int x, int y, int width, int height)
    • copyTextureToTexture

      void copyTextureToTexture(GpuTexture source, GpuTexture destination, int mipLevel, int destX, int destY, int sourceX, int sourceY, int width, int height)
    • createFence

      GpuFence createFence()
    • writeTimestamp

      void writeTimestamp(GpuQueryPool pool, int index)