scenix-core 0.1.0

Shared IDs, colors, errors, and traits for the scenix rendering library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![cfg_attr(not(feature = "std"), no_std)]

//! Shared Foundation types for scenix.

pub mod color;
pub mod error;
pub mod ids;
pub mod traits;

pub use color::{Color, ColorSpace};
pub use error::{GpuError, LoadError, ScenixError, ValidationError};
pub use ids::{CameraId, LightId, MaterialId, MeshId, NodeId, TextureId};
pub use traits::{Bounded, Renderable};

#[cfg(feature = "gpu")]
pub use traits::GpuUpload;
#[cfg(feature = "std")]
pub use traits::Named;