Crate all_is_cubes_render

Source
Expand description

Raytracer and rendering abstractions for the all-is-cubes engine.

§Package features

This package, all-is-cubes-render, defines the following feature flags:

  • "auto-threads": Enable use of threads for parallel and background processing, including via rayon’s global thread pool. This feature does not affect the public API (except via enabling other features), only performance and dependencies.
  • "raytracer": Enables the raytracer module.
  • "std" (enabled by default): If disabled, the library becomes no_std compatible, at this cost:

Modules§

camera
Projection and view matrices, viewport and aspect ratio, visibility, projecting camera rays into the scene, graphics options, etc.
raytracer
CPU raytracer for All is Cubes content.

Structs§

Flaws
Deficiencies of a rendering.
Rendering
Image container produced by a HeadlessRenderer.

Enums§

RenderError
An error indicating that a HeadlessRenderer or other renderer failed to operate.

Traits§

HeadlessRenderer
Rendering a previously-specified scene to an in-memory image.