pub struct Load10dGpuBuffers {
pub positions: Vec<[f32; 3]>,
pub colors: Vec<[f32; 4]>,
pub uv0: Option<Vec<[f32; 2]>>,
pub normals: Option<Vec<[f32; 3]>>,
pub tangents: Option<Vec<[f32; 4]>>,
pub indices: Vec<u32>,
pub materials: Vec<MaterialRecord>,
pub ranges: Vec<SubmeshRange>,
pub provenance_mu: f32,
pub governance_refused: bool,
pub vertex_count: u32,
pub triangle_count: u32,
}Expand description
Orbit-framed mesh buffers load_10d passes to GPU upload.
Fields§
§positions: Vec<[f32; 3]>Positions centred and scaled into the portal orbit frame.
colors: Vec<[f32; 4]>Per-vertex linear RGBA from SurfaceReading. Empty iff SurfaceReading is absent.
uv0: Option<Vec<[f32; 2]>>Authored UV01 when the section is present and vertex-aligned.
normals: Option<Vec<[f32; 3]>>Authored normals when the frame sidecar is present and vertex-aligned.
tangents: Option<Vec<[f32; 4]>>Authored tangents when the frame sidecar is present and vertex-aligned.
indices: Vec<u32>Flat triangle-list indices.
materials: Vec<MaterialRecord>MAT3/MAT4 records. Empty when the section is absent (colour path stays).
ranges: Vec<SubmeshRange>Submesh ranges bound to Self::materials. Empty with missing MAT.
provenance_mu: f32First Tensor10DNodes μ, or 0 when that section is absent.
governance_refused: boolHeader default-refuse with no attestation sidecar.
vertex_count: u32§triangle_count: u32Trait Implementations§
Source§impl Clone for Load10dGpuBuffers
impl Clone for Load10dGpuBuffers
Auto Trait Implementations§
impl Freeze for Load10dGpuBuffers
impl RefUnwindSafe for Load10dGpuBuffers
impl Send for Load10dGpuBuffers
impl Sync for Load10dGpuBuffers
impl Unpin for Load10dGpuBuffers
impl UnsafeUnpin for Load10dGpuBuffers
impl UnwindSafe for Load10dGpuBuffers
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more