pub struct MemoryUsdStageAdapter { /* private fields */ }Expand description
In-memory USD stage adapter (no OpenUSD native dependency).
Implementations§
Source§impl MemoryUsdStageAdapter
impl MemoryUsdStageAdapter
Sourcepub fn meshes(&self) -> &[(UsdPrimPath, TriangleMesh)]
pub fn meshes(&self) -> &[(UsdPrimPath, TriangleMesh)]
Returns declared meshes.
Sourcepub fn export_usda(&self) -> InterchangeResult<String>
pub fn export_usda(&self) -> InterchangeResult<String>
Exports the stage as USDA ASCII text.
Trait Implementations§
Source§impl Clone for MemoryUsdStageAdapter
impl Clone for MemoryUsdStageAdapter
Source§fn clone(&self) -> MemoryUsdStageAdapter
fn clone(&self) -> MemoryUsdStageAdapter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MemoryUsdStageAdapter
impl Debug for MemoryUsdStageAdapter
Source§impl Default for MemoryUsdStageAdapter
impl Default for MemoryUsdStageAdapter
Source§fn default() -> MemoryUsdStageAdapter
fn default() -> MemoryUsdStageAdapter
Returns the “default value” for a type. Read more
Source§impl UsdStageAdapter for MemoryUsdStageAdapter
impl UsdStageAdapter for MemoryUsdStageAdapter
Source§fn declare_mesh(
&mut self,
path: UsdPrimPath,
mesh: &TriangleMesh,
) -> InterchangeResult<()>
fn declare_mesh( &mut self, path: UsdPrimPath, mesh: &TriangleMesh, ) -> InterchangeResult<()>
Declares a mesh prim for a triangle mesh.
Source§fn description(&self) -> &UsdStageDescription
fn description(&self) -> &UsdStageDescription
Returns the stage description.
Auto Trait Implementations§
impl Freeze for MemoryUsdStageAdapter
impl RefUnwindSafe for MemoryUsdStageAdapter
impl Send for MemoryUsdStageAdapter
impl Sync for MemoryUsdStageAdapter
impl Unpin for MemoryUsdStageAdapter
impl UnsafeUnpin for MemoryUsdStageAdapter
impl UnwindSafe for MemoryUsdStageAdapter
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