Skip to main content

Crate nexcore_softrender

Crate nexcore_softrender 

Source
Expand description

nexcore-softrender: Pure-Rust software rasterizer

First-principles rendering from math to pixels. Zero dependencies.

§Pipeline

Geometry (vertices) → Transform (matrices) → Rasterize (edge functions) → Framebuffer (pixels)

§Architecture

  • math — Vec2/3/4, Mat3/4, transforms, color (pure computation)
  • geometry — Vertex, Triangle, Mesh, shape generators
  • pipeline — Viewport, rasterizer (edge functions), fragment shading, framebuffer

Re-exports§

pub use geometry::Mesh;
pub use geometry::Triangle;
pub use geometry::Vertex;
pub use math::Color;
pub use math::Mat3;
pub use math::Mat4;
pub use math::Vec2;
pub use math::Vec3;
pub use math::Vec4;
pub use pipeline::Framebuffer;
pub use pipeline::Viewport;

Modules§

geometry
Geometry: vertices, meshes, shape generators
math
Math primitives: vectors, matrices, transforms, color
pipeline
Rendering pipeline: viewport → rasterizer → fragment → framebuffer