pub struct RenderOptions {Show 22 fields
pub transform_start_time: Float,
pub transform_end_time: Float,
pub filter_name: String,
pub filter_params: ParamSet,
pub film_name: String,
pub film_params: ParamSet,
pub sampler_name: String,
pub sampler_params: ParamSet,
pub accelerator_name: String,
pub accelerator_params: ParamSet,
pub integrator_name: String,
pub integrator_params: ParamSet,
pub camera_name: String,
pub camera_params: ParamSet,
pub camera_to_world: TransformSet,
pub named_media: HashMap<String, Arc<Medium>>,
pub lights: Vec<Arc<Light>>,
pub primitives: Vec<Arc<Primitive>>,
pub instances: HashMap<String, Vec<Arc<Primitive>>>,
pub current_instance: String,
pub have_scattering_media: bool,
pub crop_window: Bounds2f,
}
Fields
transform_start_time: Float
transform_end_time: Float
filter_name: String
filter_params: ParamSet
film_name: String
film_params: ParamSet
sampler_name: String
sampler_params: ParamSet
accelerator_name: String
accelerator_params: ParamSet
integrator_name: String
integrator_params: ParamSet
camera_name: String
camera_params: ParamSet
camera_to_world: TransformSet
named_media: HashMap<String, Arc<Medium>>
lights: Vec<Arc<Light>>
primitives: Vec<Arc<Primitive>>
instances: HashMap<String, Vec<Arc<Primitive>>>
current_instance: String
have_scattering_media: bool
crop_window: Bounds2f
Implementations
sourceimpl RenderOptions
impl RenderOptions
pub fn make_integrator(
&self,
pixelsamples: u32,
integrator_arg: &Option<String>
) -> Option<Box<Integrator>>
pub fn make_scene(&self) -> Scene
pub fn make_camera(&self) -> Option<Arc<Camera>>
Trait Implementations
sourceimpl Default for RenderOptions
impl Default for RenderOptions
sourcefn default() -> RenderOptions
fn default() -> RenderOptions
Returns the “default value” for a type. Read more
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
sourceimpl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
sourcefn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian()
.
sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian()
.
sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian()
.