pub struct SceneCase {
pub meter: u8,
pub flags: u8,
pub profile: Vec<u8>,
pub data: Vec<u8>,
}Expand description
A synthetic serialized scene and strict export profile for the 3D targets.
Layout: meter and flags (one byte each), a little-endian u16 profile
length, that many profile bytes, then the serialized file to the end.
Flag 1 selects a prefab graph, flag 2 the CorePbr mapper. Nonzero meters
also run the export under meter² × 64 bytes.
Fields§
§meter: u8The operation’s additional small-meter selector; zero runs only full.
flags: u8Graph and material policy bits.
profile: Vec<u8>Strict profile JSON; empty means the default profile.
data: Vec<u8>A serialized file, with embedded hand-built trees in the seeds.
Implementations§
Trait Implementations§
impl Eq for SceneCase
impl StructuralPartialEq for SceneCase
Auto Trait Implementations§
impl Forget for SceneCase
impl Freeze for SceneCase
impl Move for SceneCase
impl RefUnwindSafe for SceneCase
impl Send for SceneCase
impl Sync for SceneCase
impl Unpin for SceneCase
impl UnsafeUnpin for SceneCase
impl UnwindSafe for SceneCase
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