Struct rs_pbrt::core::api::RenderOptions
source · 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§
source§impl 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§
source§impl Default for RenderOptions
impl Default for RenderOptions
source§fn 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,
source§fn 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()
.