pub struct SessionOptions {
pub cook_opt: CookOptions,
pub threaded: bool,
pub cleanup: bool,
pub env_files: Option<CString>,
pub otl_path: Option<CString>,
pub dso_path: Option<CString>,
pub img_dso_path: Option<CString>,
pub aud_dso_path: Option<CString>,
}Expand description
Session options passed to session create functions like crate::server::connect_to_pipe_server
Fields§
§cook_opt: CookOptionsSession cook options
threaded: boolCreate a Threaded server connection
cleanup: boolCleanup session upon close
env_files: Option<CString>§otl_path: Option<CString>§dso_path: Option<CString>§img_dso_path: Option<CString>§aud_dso_path: Option<CString>Implementations§
Source§impl SessionOptions
impl SessionOptions
Sourcepub fn houdini_env_files<I>(self, files: I) -> Self
pub fn houdini_env_files<I>(self, files: I) -> Self
A list of Houdini environment files the Engine will load from.
Sourcepub fn otl_search_paths<I>(self, paths: I) -> Self
pub fn otl_search_paths<I>(self, paths: I) -> Self
Add search paths for the Engine to find HDAs.
Sourcepub fn dso_search_paths<P>(self, paths: P) -> Self
pub fn dso_search_paths<P>(self, paths: P) -> Self
Add search paths for the Engine to find DSO plugins.
Sourcepub fn image_search_paths<P>(self, paths: P) -> Self
pub fn image_search_paths<P>(self, paths: P) -> Self
Add search paths for the Engine to find image plugins.
Sourcepub fn audio_search_paths<P>(self, paths: P) -> Self
pub fn audio_search_paths<P>(self, paths: P) -> Self
Add search paths for the Engine to find audio files.
Sourcepub fn cook_options(self, options: CookOptions) -> Self
pub fn cook_options(self, options: CookOptions) -> Self
Pass session CookOptions
Trait Implementations§
Source§impl Clone for SessionOptions
impl Clone for SessionOptions
Source§fn clone(&self) -> SessionOptions
fn clone(&self) -> SessionOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionOptions
impl Debug for SessionOptions
Source§impl Default for SessionOptions
impl Default for SessionOptions
Source§fn default() -> SessionOptions
fn default() -> SessionOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SessionOptions
impl RefUnwindSafe for SessionOptions
impl Send for SessionOptions
impl Sync for SessionOptions
impl Unpin for SessionOptions
impl UnwindSafe for SessionOptions
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