pub struct Gaussian3dRenderOptions {
pub colors_sh_degree_max: u32,
}
Expand description
3DGS rendering options.
Fields§
§colors_sh_degree_max: u32
The maximum degree of color in SH space.
It should be no more than SH_DEGREE_MAX
.
Implementations§
source§impl Gaussian3dRenderOptions
impl Gaussian3dRenderOptions
sourcepub fn new() -> Gaussian3dRenderOptions
pub fn new() -> Gaussian3dRenderOptions
Create a new instance of the config.
source§impl Gaussian3dRenderOptions
impl Gaussian3dRenderOptions
sourcepub fn with_colors_sh_degree_max(
self,
colors_sh_degree_max: u32,
) -> Gaussian3dRenderOptions
pub fn with_colors_sh_degree_max( self, colors_sh_degree_max: u32, ) -> Gaussian3dRenderOptions
The maximum degree of color in SH space.
Trait Implementations§
source§impl Clone for Gaussian3dRenderOptions
impl Clone for Gaussian3dRenderOptions
source§fn clone(&self) -> Gaussian3dRenderOptions
fn clone(&self) -> Gaussian3dRenderOptions
Returns a copy 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 Config for Gaussian3dRenderOptions
impl Config for Gaussian3dRenderOptions
source§impl Debug for Gaussian3dRenderOptions
impl Debug for Gaussian3dRenderOptions
source§impl Default for Gaussian3dRenderOptions
impl Default for Gaussian3dRenderOptions
source§fn default() -> Gaussian3dRenderOptions
fn default() -> Gaussian3dRenderOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Gaussian3dRenderOptions
impl<'de> Deserialize<'de> for Gaussian3dRenderOptions
source§fn deserialize<D>(
deserializer: D,
) -> Result<Gaussian3dRenderOptions, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<Gaussian3dRenderOptions, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for Gaussian3dRenderOptions
impl Display for Gaussian3dRenderOptions
source§impl PartialEq for Gaussian3dRenderOptions
impl PartialEq for Gaussian3dRenderOptions
source§impl<B> Record<B> for Gaussian3dRenderOptionswhere
B: Backend,
impl<B> Record<B> for Gaussian3dRenderOptionswhere
B: Backend,
source§type Item<S: PrecisionSettings> = Gaussian3dRenderOptionsItem<S, B>
type Item<S: PrecisionSettings> = Gaussian3dRenderOptionsItem<S, B>
Type of the item that can be serialized and deserialized.
source§fn into_item<S>(self) -> <Gaussian3dRenderOptions as Record<B>>::Item<S>where
S: PrecisionSettings,
fn into_item<S>(self) -> <Gaussian3dRenderOptions as Record<B>>::Item<S>where
S: PrecisionSettings,
Convert the current record into the corresponding item that follows the given settings.
source§fn from_item<S>(
item: <Gaussian3dRenderOptions as Record<B>>::Item<S>,
device: &<B as Backend>::Device,
) -> Gaussian3dRenderOptionswhere
S: PrecisionSettings,
fn from_item<S>(
item: <Gaussian3dRenderOptions as Record<B>>::Item<S>,
device: &<B as Backend>::Device,
) -> Gaussian3dRenderOptionswhere
S: PrecisionSettings,
Convert the given item into a record.
source§impl Serialize for Gaussian3dRenderOptions
impl Serialize for Gaussian3dRenderOptions
source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for Gaussian3dRenderOptions
impl StructuralPartialEq for Gaussian3dRenderOptions
Auto Trait Implementations§
impl Freeze for Gaussian3dRenderOptions
impl RefUnwindSafe for Gaussian3dRenderOptions
impl Send for Gaussian3dRenderOptions
impl Sync for Gaussian3dRenderOptions
impl Unpin for Gaussian3dRenderOptions
impl UnwindSafe for Gaussian3dRenderOptions
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more