Struct parse_blend_file::RenderOptions
source · [−]pub(crate) struct RenderOptions {
pub(crate) has_emitters: bool,
pub(crate) primitives: Vec<Arc<Primitive>>,
pub(crate) shapes: Vec<Arc<Shape>>,
pub(crate) shape_materials: Vec<Arc<Material>>,
pub(crate) shape_lights: Vec<Option<Arc<Light>>>,
pub(crate) lights: Vec<Arc<Light>>,
}
Fields
has_emitters: bool
primitives: Vec<Arc<Primitive>>
shapes: Vec<Arc<Shape>>
shape_materials: Vec<Arc<Material>>
shape_lights: Vec<Option<Arc<Light>>>
lights: Vec<Arc<Light>>
Implementations
sourceimpl RenderOptions
impl RenderOptions
pub(crate) fn new(
scene: SceneDescription,
material_hm: &HashMap<String, Blend279Material>,
texture_hm: &HashMap<String, OsString>,
light_scale: Float
) -> RenderOptions
Auto Trait Implementations
impl !RefUnwindSafe for RenderOptions
impl Send for RenderOptions
impl Sync for RenderOptions
impl Unpin for RenderOptions
impl !UnwindSafe for RenderOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more