pub struct Options {Show 13 fields
pub auto_compute_scene_extents: bool,
pub invoke_user_callback_for_nested_show: bool,
pub give_focus_on_show: bool,
pub ground_plane_enabled: bool,
pub ground_plane_mode: GroundPlaneMode,
pub ground_plane_height: f32,
pub background_color: Vec4,
pub transparency_enabled: bool,
pub transparency_mode: TransparencyMode,
pub transparency_render_passes: u32,
pub ssaa_factor: u32,
pub max_fps: u32,
pub ssao: SsaoConfig,
}Expand description
Global configuration options for polyscope.
Fields§
§auto_compute_scene_extents: boolWhether to automatically compute scene extents.
invoke_user_callback_for_nested_show: boolWhether to invoke user callback during rendering.
give_focus_on_show: boolWhether to give focus to the polyscope window.
ground_plane_enabled: boolWhether the ground plane is enabled.
ground_plane_mode: GroundPlaneModeGround plane mode (shadow, tile, etc.).
ground_plane_height: f32Ground plane height (world coordinates).
background_color: Vec4Background color.
transparency_enabled: boolWhether to enable transparency.
transparency_mode: TransparencyModeTransparency mode.
transparency_render_passes: u32Number of render passes for depth-peeling transparency (Pretty mode).
ssaa_factor: u32SSAA (supersampling) factor.
max_fps: u32Maximum frames per second (0 = unlimited).
ssao: SsaoConfigSSAO configuration.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Options
impl<'de> Deserialize<'de> for Options
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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