Struct CookOptions

Source
pub struct CookOptions(/* private fields */);
Expand description

Implementations§

Source§

impl CookOptions

Source

pub fn split_geo_by_group(&self) -> bool

Source

pub fn set_split_geo_by_group(&mut self, val: bool)

Source

pub fn with_split_geo_by_group(self, val: bool) -> Self

Source

pub fn split_geos_by_attribute(&self) -> bool

Source

pub fn set_split_geos_by_attribute(&mut self, val: bool)

Source

pub fn with_split_geos_by_attribute(self, val: bool) -> Self

Source

pub fn max_vertices_per_primitive(&self) -> i32

Source

pub fn set_max_vertices_per_primitive(&mut self, val: i32)

Source

pub fn with_max_vertices_per_primitive(self, val: i32) -> Self

Source

pub fn refine_curve_to_linear(&self) -> bool

Source

pub fn set_refine_curve_to_linear(&mut self, val: bool)

Source

pub fn with_refine_curve_to_linear(self, val: bool) -> Self

Source

pub fn curve_refine_lod(&self) -> f32

Source

pub fn set_curve_refine_lod(&mut self, val: f32)

Source

pub fn with_curve_refine_lod(self, val: f32) -> Self

Source

pub fn clear_errors_and_warnings(&self) -> bool

Source

pub fn set_clear_errors_and_warnings(&mut self, val: bool)

Source

pub fn with_clear_errors_and_warnings(self, val: bool) -> Self

Source

pub fn cook_templated_geos(&self) -> bool

Source

pub fn set_cook_templated_geos(&mut self, val: bool)

Source

pub fn with_cook_templated_geos(self, val: bool) -> Self

Source

pub fn split_points_by_vertex_attributes(&self) -> bool

Source

pub fn set_split_points_by_vertex_attributes(&mut self, val: bool)

Source

pub fn with_split_points_by_vertex_attributes(self, val: bool) -> Self

Source

pub fn handle_box_part_types(&self) -> bool

Source

pub fn set_handle_box_part_types(&mut self, val: bool)

Source

pub fn with_handle_box_part_types(self, val: bool) -> Self

Source

pub fn handle_sphere_part_types(&self) -> bool

Source

pub fn set_handle_sphere_part_types(&mut self, val: bool)

Source

pub fn with_handle_sphere_part_types(self, val: bool) -> Self

Source

pub fn check_part_changes(&self) -> bool

Source

pub fn set_check_part_changes(&mut self, val: bool)

Source

pub fn with_check_part_changes(self, val: bool) -> Self

Source

pub fn cache_mesh_topology(&self) -> bool

Source

pub fn set_cache_mesh_topology(&mut self, val: bool)

Source

pub fn with_cache_mesh_topology(self, val: bool) -> Self

Source

pub fn prefer_output_nodes(&self) -> bool

Source

pub fn set_prefer_output_nodes(&mut self, val: bool)

Source

pub fn with_prefer_output_nodes(self, val: bool) -> Self

Source

pub fn packed_prim_instancing_mode(&self) -> PackedPrimInstancingMode

Source

pub fn set_packed_prim_instancing_mode(&mut self, val: PackedPrimInstancingMode)

Source

pub fn with_packed_prim_instancing_mode( self, val: PackedPrimInstancingMode, ) -> Self

Source

pub fn split_attr(&self, session: &Session) -> Result<String>

Source

pub fn ptr(&self) -> *const HAPI_CookOptions

Trait Implementations§

Source§

impl Clone for CookOptions

Source§

fn clone(&self) -> CookOptions

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CookOptions

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for CookOptions

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.