#[repr(transparent)]pub struct AccelerationStructureMotionInstanceNVBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> AccelerationStructureMotionInstanceNVBuilder<'a>
impl<'a> AccelerationStructureMotionInstanceNVBuilder<'a>
pub fn ty(self, ty: AccelerationStructureMotionInstanceTypeNV) -> Self
pub fn flags(self, flags: AccelerationStructureMotionInstanceFlagsNV) -> Self
pub fn data(self, data: AccelerationStructureMotionInstanceDataNV) -> Self
sourcepub fn build(self) -> AccelerationStructureMotionInstanceNV
pub fn build(self) -> AccelerationStructureMotionInstanceNV
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.