Struct ResidentAssetEntry
#[repr(C)]pub struct ResidentAssetEntry {
pub asset_id: u32,
pub proc_header_index: u16,
pub eont_header_index: u16,
pub surfel_slice_offset: u32,
pub surfel_count: u32,
pub impostor_atlas_layer: u16,
pub flags: u16,
pub total_vertex_offset: u32,
pub total_vertex_count: u32,
pub reserved_u32: u32,
pub bounding_sphere: [f32; 4],
pub lod_slices: [SubmeshSlice; 4],
}Expand description
112-byte multi-modal resident asset entry tracking 4 LOD tiers and .10d PROC/EONT/SURF/IMPO bindings.
Fields§
§asset_id: u32§proc_header_index: u16.10d MAGIC_PROC ProceduralSynthesisHeader slot (0xFFFF if none).
eont_header_index: u16.10d MAGIC_EONT EntityOntologyMiniHeader slot (0xFFFF if none).
surfel_slice_offset: u32Offset into the .10d MAGIC_SURF surfel storage buffer.
surfel_count: u32Number of Gaussian covariance surfels for this asset.
impostor_atlas_layer: u16.10d MAGIC_IMPO hemi-octahedral impostor atlas layer.
flags: u16Bit flags (bit 0 = active, bit 1 = casts shadow, bit 2 = skinned).
total_vertex_offset: u32Vertex count allocated in vertex_buffer for cleanup on free_asset.
total_vertex_count: u32§reserved_u32: u32§bounding_sphere: [f32; 4]Local bounding sphere [center_x, center_y, center_z, radius].
lod_slices: [SubmeshSlice; 4]4-tier LOD slices (LOD0 near .. LOD3 far).
Trait Implementations§
§impl Clone for ResidentAssetEntry
impl Clone for ResidentAssetEntry
§fn clone(&self) -> ResidentAssetEntry
fn clone(&self) -> ResidentAssetEntry
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 moreimpl Copy for ResidentAssetEntry
§impl Debug for ResidentAssetEntry
impl Debug for ResidentAssetEntry
§impl Default for ResidentAssetEntry
impl Default for ResidentAssetEntry
§fn default() -> ResidentAssetEntry
fn default() -> ResidentAssetEntry
Returns the “default value” for a type. Read more
§impl PartialEq for ResidentAssetEntry
impl PartialEq for ResidentAssetEntry
impl Pod for ResidentAssetEntry
impl StructuralPartialEq for ResidentAssetEntry
Auto Trait Implementations§
impl Freeze for ResidentAssetEntry
impl RefUnwindSafe for ResidentAssetEntry
impl Send for ResidentAssetEntry
impl Sync for ResidentAssetEntry
impl Unpin for ResidentAssetEntry
impl UnsafeUnpin for ResidentAssetEntry
impl UnwindSafe for ResidentAssetEntry
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.
impl<T> AnyBitPattern for Twhere
T: Pod,
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
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.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> ⓘ
impl<T> Interleave for Twhere
T: Pod,
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 moreimpl<T> NoUninit for Twhere
T: Pod,
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.