pub struct GltfAddressabilityV2 { /* private fields */ }Expand description
Standalone producer envelope for rich glTF addressability.
Implementations§
Source§impl GltfAddressabilityV2
impl GltfAddressabilityV2
Sourcepub fn new(
tool: ToolInfo,
raw: RawGltfAddressabilityInventoryV1,
animations: GltfAnimationAddressabilityInventoryV1,
bevy: Option<GltfAddressabilityBevyAdapterV2>,
) -> Result<Self, GltfAddressabilityV2Error>
pub fn new( tool: ToolInfo, raw: RawGltfAddressabilityInventoryV1, animations: GltfAnimationAddressabilityInventoryV1, bevy: Option<GltfAddressabilityBevyAdapterV2>, ) -> Result<Self, GltfAddressabilityV2Error>
Construct one validated rich report.
Sourcepub const fn input(&self) -> &InputIdentity
pub const fn input(&self) -> &InputIdentity
Exact primary input identity.
Sourcepub const fn inventory(&self) -> &GltfAddressabilityInventoryV2
pub const fn inventory(&self) -> &GltfAddressabilityInventoryV2
Rich engine-neutral inventory adapter.
Sourcepub const fn bevy(&self) -> Option<&GltfAddressabilityBevyAdapterV2>
pub const fn bevy(&self) -> Option<&GltfAddressabilityBevyAdapterV2>
Exact richer Bevy adapter when revision 3 was selected.
Whether the real embedded check carries required-unavailable work.
Sourcepub fn read_from(
reader: impl Read,
) -> Result<GltfAddressabilityReadbackV2, GltfAddressabilityReadErrorV2>
pub fn read_from( reader: impl Read, ) -> Result<GltfAddressabilityReadbackV2, GltfAddressabilityReadErrorV2>
Strictly read and cross-validate one V2 report through the 256 MiB cap.
Trait Implementations§
Source§impl Clone for GltfAddressabilityV2
impl Clone for GltfAddressabilityV2
Source§fn clone(&self) -> GltfAddressabilityV2
fn clone(&self) -> GltfAddressabilityV2
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 GltfAddressabilityV2
impl Debug for GltfAddressabilityV2
Auto Trait Implementations§
impl Freeze for GltfAddressabilityV2
impl RefUnwindSafe for GltfAddressabilityV2
impl Send for GltfAddressabilityV2
impl Sync for GltfAddressabilityV2
impl Unpin for GltfAddressabilityV2
impl UnsafeUnpin for GltfAddressabilityV2
impl UnwindSafe for GltfAddressabilityV2
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