Struct vulkanalia::vk::MicromapBuildInfoEXTBuilder
source · #[repr(transparent)]pub struct MicromapBuildInfoEXTBuilder<'b> { /* private fields */ }
Expand description
A builder for a MicromapBuildInfoEXT
.
Implementations§
source§impl<'b> MicromapBuildInfoEXTBuilder<'b>
impl<'b> MicromapBuildInfoEXTBuilder<'b>
pub fn type_(self, type_: MicromapTypeEXT) -> Self
pub fn flags(self, flags: BuildMicromapFlagsEXT) -> Self
pub fn mode(self, mode: BuildMicromapModeEXT) -> Self
pub fn dst_micromap(self, dst_micromap: MicromapEXT) -> Self
pub fn usage_counts( self, usage_counts: &'b [impl Cast<Target = MicromapUsageEXT>] ) -> Self
pub fn pointer_usage_counts( self, pointer_usage_counts: &'b [*const MicromapUsageEXT] ) -> Self
pub fn data(self, data: DeviceOrHostAddressConstKHR) -> Self
pub fn scratch_data(self, scratch_data: DeviceOrHostAddressKHR) -> Self
pub fn triangle_array(self, triangle_array: DeviceOrHostAddressConstKHR) -> Self
pub fn triangle_array_stride(self, triangle_array_stride: DeviceSize) -> Self
pub fn build(self) -> MicromapBuildInfoEXT
Trait Implementations§
source§impl<'b> Cast for MicromapBuildInfoEXTBuilder<'b>
impl<'b> Cast for MicromapBuildInfoEXTBuilder<'b>
§type Target = MicromapBuildInfoEXT
type Target = MicromapBuildInfoEXT
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for MicromapBuildInfoEXTBuilder<'b>
impl<'b> Clone for MicromapBuildInfoEXTBuilder<'b>
source§fn clone(&self) -> MicromapBuildInfoEXTBuilder<'b>
fn clone(&self) -> MicromapBuildInfoEXTBuilder<'b>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'b> Debug for MicromapBuildInfoEXTBuilder<'b>
impl<'b> Debug for MicromapBuildInfoEXTBuilder<'b>
source§impl<'b> Default for MicromapBuildInfoEXTBuilder<'b>
impl<'b> Default for MicromapBuildInfoEXTBuilder<'b>
source§fn default() -> MicromapBuildInfoEXTBuilder<'b>
fn default() -> MicromapBuildInfoEXTBuilder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for MicromapBuildInfoEXTBuilder<'b>
impl<'b> Deref for MicromapBuildInfoEXTBuilder<'b>
source§impl<'b> DerefMut for MicromapBuildInfoEXTBuilder<'b>
impl<'b> DerefMut for MicromapBuildInfoEXTBuilder<'b>
impl<'b> Copy for MicromapBuildInfoEXTBuilder<'b>
Auto Trait Implementations§
impl<'b> RefUnwindSafe for MicromapBuildInfoEXTBuilder<'b>
impl<'b> !Send for MicromapBuildInfoEXTBuilder<'b>
impl<'b> !Sync for MicromapBuildInfoEXTBuilder<'b>
impl<'b> Unpin for MicromapBuildInfoEXTBuilder<'b>
impl<'b> UnwindSafe for MicromapBuildInfoEXTBuilder<'b>
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