Package limn.render3d
Interface Graphics3D.Provider
- Enclosing class:
Graphics3D
public static interface Graphics3D.Provider
Backend-supplied factory + renderer (installed at startup).
-
Method Summary
Modifier and TypeMethodDescriptioncreateTarget(int widthPx, int heightPx, int samples) voidrender(RenderTarget target, Camera camera, Consumer<RenderPass> body) voidrenderDemoScene(RenderTarget target, double timeSeconds) default GpuMeshUploads with an explicit usage.uploadTexture(TextureData texture, Sampler sampler)
-
Method Details
-
createTarget
-
upload
-
upload
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
-
render
-
renderDemoScene
-