viewport-lib-types 0.2.0

Pure-data types for viewport-lib: submission payloads, handles, and frame config, free of any GPU dependency.
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Handle for an uploaded Gaussian splat set.

crate::slot_handle! {
    /// Handle to an uploaded Gaussian splat set.
    ///
    /// Carries the slot index plus the generation the slot had when the handle
    /// was issued. A handle whose splat set was removed (its slot freed and
    /// reused by a later upload) resolves to no set on lookup, so it cannot
    /// alias whatever now occupies the slot.
    pub struct GaussianSplatId;
}