pub struct InstanceChunkPlacement { /* private fields */ }Expand description
Declarative analytic rendering of one resident rigid-instance chunk.
Implementations§
Source§impl InstanceChunkPlacement
impl InstanceChunkPlacement
Sourcepub fn new(
id: ChunkPlacementId,
ticket: ResidencyTicket,
template: Arc<AnalyticTemplate>,
color: Rgba8,
) -> Self
pub fn new( id: ChunkPlacementId, ticket: ResidencyTicket, template: Arc<AnalyticTemplate>, color: Rgba8, ) -> Self
References immutable template geometry and one exact transform generation.
Sourcepub const fn id(&self) -> ChunkPlacementId
pub const fn id(&self) -> ChunkPlacementId
Stable caller-owned placement identity.
Sourcepub const fn ticket(&self) -> ResidencyTicket
pub const fn ticket(&self) -> ResidencyTicket
Exact rigid-transform generation.
Sourcepub const fn template(&self) -> &Arc<AnalyticTemplate> ⓘ
pub const fn template(&self) -> &Arc<AnalyticTemplate> ⓘ
Shared homogeneous analytic template.
Trait Implementations§
Source§impl Clone for InstanceChunkPlacement
impl Clone for InstanceChunkPlacement
Source§impl Debug for InstanceChunkPlacement
impl Debug for InstanceChunkPlacement
Auto Trait Implementations§
impl Freeze for InstanceChunkPlacement
impl RefUnwindSafe for InstanceChunkPlacement
impl Send for InstanceChunkPlacement
impl Sync for InstanceChunkPlacement
impl Unpin for InstanceChunkPlacement
impl UnsafeUnpin for InstanceChunkPlacement
impl UnwindSafe for InstanceChunkPlacement
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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