mirror of
https://github.com/storytold/materialcraft.git
synced 2026-11-08 07:34:24 +00:00
99 lines
2.5 KiB
Rust
99 lines
2.5 KiB
Rust
#![forbid(unsafe_code)]
|
|
#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)]
|
|
|
|
mod document_path;
|
|
mod graph_instance_commands;
|
|
mod linked_files;
|
|
mod linked_packages;
|
|
mod material_preview;
|
|
mod material_preview_commands;
|
|
mod material_source;
|
|
mod node_info_commands;
|
|
mod open_document;
|
|
mod package_commands;
|
|
mod preview_cook;
|
|
pub use material_preview::MaterialPreview;
|
|
pub use material_source::MaterialSource;
|
|
pub use open_document::OpenDocument;
|
|
pub use preview_cook::PreviewCook;
|
|
|
|
mod alignment_commands;
|
|
mod embedded_clipboard;
|
|
mod graph_validation;
|
|
pub mod selection_commands;
|
|
mod selection_target;
|
|
pub use embedded_clipboard::EmbeddedClipboard;
|
|
pub use selection_target::SelectionTarget;
|
|
pub mod commands;
|
|
pub mod edit_cmds;
|
|
pub mod file_cmds;
|
|
pub mod graph_cmds;
|
|
pub mod graph_edit;
|
|
pub mod graph_grid;
|
|
pub mod inspect;
|
|
pub mod material_cmds;
|
|
pub mod node_cmds;
|
|
pub mod samples;
|
|
pub mod session;
|
|
mod value_input_commands;
|
|
pub mod view_cmds;
|
|
pub mod wire_cmds;
|
|
pub mod wire_swap;
|
|
|
|
pub use commands::{CommandSpec, command_specs, execute, find};
|
|
pub use session::{CameraPrefs, Session, View2d, View3d, WARNING_PREFIX};
|
|
mod clip;
|
|
mod connection_commands;
|
|
pub use clip::Clip;
|
|
|
|
pub use materialcraft_core as core;
|
|
pub use materialcraft_eval as eval;
|
|
pub use materialcraft_formats as formats;
|
|
pub use materialcraft_image as image;
|
|
pub use materialcraft_nodes as nodes;
|
|
|
|
mod engine_error;
|
|
pub use engine_error::EngineError;
|
|
|
|
pub type Result<T> = std::result::Result<T, EngineError>;
|
|
|
|
/// Version string shown in About, `--version` and window titles
|
|
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
|
|
|
mod startup;
|
|
pub use startup::{new_session, sample_session};
|
|
|
|
mod atomic_sample;
|
|
mod atomic_sample_commands;
|
|
pub use atomic_sample::atomic_sample;
|
|
|
|
mod material_options;
|
|
pub use material_options::MaterialOptions;
|
|
|
|
mod exported;
|
|
pub use exported::Exported;
|
|
|
|
mod annotation_commands;
|
|
mod annotation_selection;
|
|
mod comment_commands;
|
|
mod frame_commands;
|
|
mod frame_contents;
|
|
mod function_commands;
|
|
mod node_graph_commands;
|
|
mod pattern_graph_commands;
|
|
mod snapshot;
|
|
pub use annotation_selection::AnnotationSelection;
|
|
pub use frame_contents::FrameContents;
|
|
|
|
mod embedded_edit_commands;
|
|
mod embedded_wire_commands;
|
|
mod function_edit;
|
|
mod function_graph_target;
|
|
mod function_info_commands;
|
|
pub mod function_inspection;
|
|
pub mod function_output;
|
|
mod pattern_edit;
|
|
pub use function_edit::FunctionEdit;
|
|
pub use function_graph_target::FunctionGraphTarget;
|
|
pub use pattern_edit::PatternEdit;
|