Expand description
Unified 3D Engine: High-level Three.js ergonomics paired seamlessly with low-level Vulkan/OpenGL hardware pipelines.
Re-exports§
pub use crate::texture3d::SamplerDesc;pub use crate::texture3d::TextureData;pub use crate::texture3d::TextureDesc;pub use crate::texture3d::TextureId;pub use crate::texture3d::TextureStore;pub use crate::texture3d::UvTransform;
Structs§
- Ambient
Light - Ambient
Light Builder - BoxGeometry
- BoxGeometry
Builder - Canvas3D
- Canvas3D
Builder - Celestial
Body3D - An emissive celestial body drawn as a billboard: the sun, the moon, or a sensor anomaly marker.
- Cloud
Shell3D - A translucent spherical shell drawn over the surface: clouds, a night arc, or a coverage wash.
- Cylinder
Geometry - Cylinder
Geometry Builder - Directional
Light - Directional
Light Builder - Mesh
- Mesh3D
- A 3D Mesh in the Scene Graph: Seamlessly pairs high-level or low-level geometry with materials.
- Mesh
Builder - Orthographic
Camera - Orthographic
Camera Builder - Perspective
Camera - Perspective
Camera Builder - Plane
Geometry - Plane
Geometry Builder - Point
Light - Point
Light Builder - Retained
Camera Uniforms - Camera and lighting uniforms needed for O(1) RTE GPU frame presentation without scene rebuilds.
- Retained
Cubemap Texture - 6-face RGBA8 cubemap texture uploadable to
wgpu(TextureViewDimension::Cube). - Retained
Dynamic Mesh - Dynamic or non-grid RTC geometry (buildings, vector ribbons, trajectories) anchored in ECEF.
- Retained
Environment Assets - Persistent GPU-uploadable planetary & space environment assets (land mask, cloud map, Moon, star catalog, space skybox).
- Retained
GeoInstance - Hardware-instanced 3D object anchored in double-precision ECEF / morphed planetary space.
- Retained
Mesh Asset - Canonical local-space 3D mesh asset uploaded once to GPU VRAM and shared across any number of
RetainedGeoInstances. - Retained
Ocean Surface - GPU-native per-pixel ocean wave spectrum & optional coastal shoreline shoaling descriptor.
- Retained
Ocean Wave Train - One directional wind-driven ocean wave train for smooth dual-state wind cross-fading.
- Retained
Particle Layer - GPU-instanced camera-local toroidal 2D billboard particle volume.
- Retained
Scene3D - Thread-safe retained 3D scene handle shared between host state (camera/worker) and
Canvas3D. - Retained
Star - One real catalog star in J2000 ICRF celestial coordinates.
- Retained
Terrain Frame - Snapshot of retained terrain tiles, textures, dynamic meshes, instanced geo objects, GPU-instanced 2D camera-local particle volumes, GPU ocean surface, and camera parameters.
- Retained
Tile Instance - Lightweight per-frame tile draw instance referencing cached geometry and imagery.
- Retained
Tile Mesh - Persistent GPU-ready tile geometry computed once per
(TileKeyId, revision). - Retained
Tile Texture - Persistent GPU-ready tile imagery payload computed once per
(id, revision). - RteTile
Vertex - Tile-local RTC terrain vertex packed into two
vec4<f32>s for GPU vertex pulling. - Scene3D
- Top-Level 3D Scene representation embedded in a Strata Viewport.
- Shader
Material - Shader
Material Builder - Sphere
Geometry - Sphere
Geometry Builder - Standard
Material - Standard
Material Builder - Textured
Batch Material3D - A textured mesh with several texture draws sharing one vertex and index buffer.
- Textured
Draw3D - One index range of a batched textured mesh, with its own material.
- Textured
Material3D - Textured surface material.
- Tile
KeyId - Compact, backend-agnostic identifier for a terrain tile in a quadtree or flat-patch pyramid.
- Transform3D
- 3D Spatial Transformation
Enums§
- Background3D
- What the rasterizer fills before any geometry is drawn.
- Camera3D
- 3D Camera Abstractions
- Geometry3D
- 3D Geometry: Supports both parametric Three.js-style primitives and low-level custom vertex buffers.
- Light3D
- 3D Lighting
- Material3D
- 3D Material: Unifies high-level PBR workflows with low-level custom hardware shaders.
- Retained
Particle Billboard - Billboard alignment strategy for a GPU-instanced
RetainedParticleLayer. - Retained
Particle Sprite - 2D sprite rendering mode for a GPU-instanced
RetainedParticleLayer. - Shader
Source - Low-Level Hardware Shader Source
Traits§
- Into
Camera Change Prop - Conversion trait allowing
on_camera_changeon 3D viewports (Canvas3D,SceneViewport) to accept closures,Rc<dyn Fn(&OrbitControls)>, orOption<Rc<dyn Fn(&OrbitControls)>>. - Into
Scene3D Prop - Conversion trait allowing RSX
<Canvas3D scene={...}>and<SceneViewport scene={...}>props to accept ownedScene3D,Option<Scene3D>, or zero-copyArc<Scene3D>handles.
Functions§
- Ambient
Light - BoxGeometry
- Canvas3D
- Cylinder
Geometry - Directional
Light - Mesh
- Orthographic
Camera - Perspective
Camera - Plane
Geometry - Point
Light - Shader
Material - Sphere
Geometry - Standard
Material - attach_
orbit_ controls_ listeners - Attaches built-in
OrbitControlspointer drag (orbit/pan) and wheel (zoom) listeners to a 3D canvas attribute list, invokingcbwhenever the camera state changes. - compile_
scene3d_ from_ blueprint - Compiles a
<Canvas3D>blueprint subtree (including any attached programmaticScenePayload) into a populatedScene3Dinstance. - extract_
scene3d_ arc_ from_ blueprint - Extracts an
Arc<Scene3D>from a<Canvas3D>or viewportNodeBlueprint: returns a zero-copyArc::clonewhen an explicitAttribute::ScenePayloadis attached with no declarative child overrides, or compiles declarative children when present. - overlay_
text_ rasterizer - Returns the installed overlay text rasterizer, if any.
- register_
overlay_ text_ rasterizer - Installs the overlay text rasterizer for this thread.
Type Aliases§
- Text
Rasterizer - Callback that rasterizes a text run into the framebuffer.