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 viarayon’s global thread pool. This feature does not affect the public API (except via enabling other features), only performance and dependencies."raytracer": Enables theraytracermodule."std"(enabled by default): If disabled, the library becomesno_stdcompatible, at this cost:raytracer::RtRendererdoes not implementheadless::HeadlessRenderer.- Error types do not implement
std::error::Error.
Modules§
- Projection and view matrices, viewport and aspect ratio, visibility, projecting camera rays into the scene, graphics options, etc.
- CPU raytracer for All is Cubes content.
Structs§
- Deficiencies of a rendering.
- Image container produced by a
HeadlessRenderer.
Enums§
- An error indicating that a
HeadlessRendereror other renderer failed to operate.
Traits§
- Rendering a previously-specified scene to an in-memory image.