opensubdiv_rs/sdc/mod.rs
1//! **Sdc** — Subdivision Core.
2//!
3//! Port of OpenSubdiv's `opensubdiv/sdc` layer: the definitions of the
4//! supported subdivision schemes, the standard subdivision options, the
5//! (semi-sharp) creasing rules, and the scheme-specific subdivision and limit
6//! masks.
7//!
8//! This layer is intentionally free of any topology *representation* — masks
9//! are computed from small neighborhood descriptions supplied by higher
10//! layers (see [`crate::vtr`] and [`crate::far`]).
11
12mod crease;
13mod options;
14mod scheme;
15mod types;
16
17pub use crease::{Crease, Rule, SHARPNESS_INFINITE, SHARPNESS_SMOOTH};
18pub use options::{
19 CreasingMethod, FVarLinearInterpolation, Options, TriangleSubdivision, VtxBoundaryInterpolation,
20};
21pub use scheme::{
22 EdgeNeighborhood, EdgeVertexMask, FaceVertexMask, Scheme, VertexNeighborhood, VertexVertexMask,
23};
24pub use types::{SchemeType, Split};