euv-core 0.52.0

Core cross-platform runtime for euv featuring arena-based fine-grained reactivity, deterministic layout, flat scene graph, multi-mode rendering, and direct OS platform adapters.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// Expected 64-byte cache/GPU stride of `Vertex3D`.
pub const VERTEX3D_STRIDE_BYTES: usize = 64;

pub(crate) const MESHLET_MAX_TRIS: usize = 64;
pub(crate) const MESH_CAR_WHEEL_SEGMENTS: usize = 12;
pub(crate) const MESH_PALM_TRUNK_SEGMENTS: usize = 6;
pub(crate) const MESH_PALM_FROND_COUNT: usize = 8;
pub(crate) const MESH_LOD1_SUFFIX: &str = "lod1";
pub(crate) const MESH_LOD2_SUFFIX: &str = "lod2";
pub(crate) const MESH_OBJ_DEFAULT_NAME: &str = "imported_obj";
pub(crate) const OBJ_DIRECTIVE_USEMTL: &str = "usemtl";
pub(crate) const OBJ_DIRECTIVE_MTLLIB: &str = "mtllib";
pub(crate) const MTL_DIRECTIVE_NEWMTL: &str = "newmtl";
pub(crate) const ERR_OBJ_EMPTY: &str = "OBJ source contained no valid triangles";
pub(crate) const ERR_GLTF_EMPTY: &str = "glTF 2.0 JSON contained no valid triangle primitives";
pub(crate) const ERR_TEXT_FORMAT_UNSUPPORTED: &str = "binary format requires import_bytes";
pub(crate) const ERR_BINARY_FORMAT_UNSUPPORTED: &str = "format not supported by import_bytes";