pub struct GltfScaleSource { /* private fields */ }Expand description
A captured, immutable source that passed its declared preflight policy.
This type deliberately has no mutation or write method. Scale operations consume its manifest and captured bytes without reopening the input.
Implementations§
Source§impl GltfScaleSource
impl GltfScaleSource
Sourcepub fn document(&self) -> &Document
pub fn document(&self) -> &Document
The normalized read-only document built from the captured bytes.
Sourcepub fn source_facts(&self) -> SourceFactsViewV1<'_>
pub fn source_facts(&self) -> SourceFactsViewV1<'_>
Importer-sensitive raw source facts bound to the normalized document.
Sourcepub fn manifest(&self) -> &GltfCapabilityManifest
pub fn manifest(&self) -> &GltfCapabilityManifest
The deterministic raw capability manifest.
Sourcepub fn source_bytes(&self) -> &[u8] ⓘ
pub fn source_bytes(&self) -> &[u8] ⓘ
The exact captured top-level input bytes.
Sourcepub fn resolved_buffers(&self) -> &[Vec<u8>]
pub fn resolved_buffers(&self) -> &[Vec<u8>]
Resolved source buffers in buffer-index order.
Sourcepub const fn requires_clip_track_projection(&self) -> bool
pub const fn requires_clip_track_projection(&self) -> bool
Whether clip-track capture excluded one or more raw source violations.
A caller selecting between its established whole-source path and a clip-track projection uses this only as an in-memory policy result. It does not alter the exact source bytes, source identity, or manifest.