Package limn.render3d

Interface Graphics3D.Provider

Enclosing class:
Graphics3D

public static interface Graphics3D.Provider
Backend-supplied factory + renderer (installed at startup).
  • Method Details

    • createTarget

      RenderTarget createTarget(int widthPx, int heightPx, int samples)
    • upload

      GpuMesh upload(MeshData mesh)
    • upload

      default GpuMesh upload(MeshData mesh, MeshUsage usage)
      Uploads with an explicit usage. Default: ignores the hint and uploads statically, so a provider written before dynamic meshes existed still compiles and still returns a usable (if not rewritable) handle.
    • uploadTexture

      GpuTexture uploadTexture(TextureData texture, Sampler sampler)
    • render

      void render(RenderTarget target, Camera camera, Consumer<RenderPass> body)
    • renderDemoScene

      void renderDemoScene(RenderTarget target, double timeSeconds)