pub struct KeyframeAnimationEncoder;Available on crate feature
encoder only.Expand description
Encodes KeyframeAnimation data into a Draco bitstream.
Implementations§
Source§impl KeyframeAnimationEncoder
impl KeyframeAnimationEncoder
Sourcepub fn encode_keyframe_animation(
&mut self,
animation: &KeyframeAnimation,
options: &EncoderOptions,
out_buffer: &mut EncoderBuffer,
) -> Status
pub fn encode_keyframe_animation( &mut self, animation: &KeyframeAnimation, options: &EncoderOptions, out_buffer: &mut EncoderBuffer, ) -> Status
Encodes animation into out_buffer using the sequential point-cloud
path. Mirrors C++ KeyframeAnimationEncoder::EncodeKeyframeAnimation.
Trait Implementations§
Source§impl Debug for KeyframeAnimationEncoder
impl Debug for KeyframeAnimationEncoder
Source§impl Default for KeyframeAnimationEncoder
impl Default for KeyframeAnimationEncoder
Source§fn default() -> KeyframeAnimationEncoder
fn default() -> KeyframeAnimationEncoder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for KeyframeAnimationEncoder
impl RefUnwindSafe for KeyframeAnimationEncoder
impl Send for KeyframeAnimationEncoder
impl Sync for KeyframeAnimationEncoder
impl Unpin for KeyframeAnimationEncoder
impl UnsafeUnpin for KeyframeAnimationEncoder
impl UnwindSafe for KeyframeAnimationEncoder
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