Struct ash::vk::TraceRaysIndirectCommand2KHRBuilder
source · pub struct TraceRaysIndirectCommand2KHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> TraceRaysIndirectCommand2KHRBuilder<'a>
impl<'a> TraceRaysIndirectCommand2KHRBuilder<'a>
pub fn raygen_shader_record_address( self, raygen_shader_record_address: DeviceAddress ) -> Self
pub fn raygen_shader_record_size( self, raygen_shader_record_size: DeviceSize ) -> Self
pub fn miss_shader_binding_table_address( self, miss_shader_binding_table_address: DeviceAddress ) -> Self
pub fn miss_shader_binding_table_size( self, miss_shader_binding_table_size: DeviceSize ) -> Self
pub fn miss_shader_binding_table_stride( self, miss_shader_binding_table_stride: DeviceSize ) -> Self
pub fn hit_shader_binding_table_address( self, hit_shader_binding_table_address: DeviceAddress ) -> Self
pub fn hit_shader_binding_table_size( self, hit_shader_binding_table_size: DeviceSize ) -> Self
pub fn hit_shader_binding_table_stride( self, hit_shader_binding_table_stride: DeviceSize ) -> Self
pub fn callable_shader_binding_table_address( self, callable_shader_binding_table_address: DeviceAddress ) -> Self
pub fn callable_shader_binding_table_size( self, callable_shader_binding_table_size: DeviceSize ) -> Self
pub fn callable_shader_binding_table_stride( self, callable_shader_binding_table_stride: DeviceSize ) -> Self
pub fn width(self, width: u32) -> Self
pub fn height(self, height: u32) -> Self
pub fn depth(self, depth: u32) -> Self
sourcepub fn build(self) -> TraceRaysIndirectCommand2KHR
pub fn build(self) -> TraceRaysIndirectCommand2KHR
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.
Trait Implementations§
source§impl<'a> Deref for TraceRaysIndirectCommand2KHRBuilder<'a>
impl<'a> Deref for TraceRaysIndirectCommand2KHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for TraceRaysIndirectCommand2KHRBuilder<'a>
impl<'a> RefUnwindSafe for TraceRaysIndirectCommand2KHRBuilder<'a>
impl<'a> Send for TraceRaysIndirectCommand2KHRBuilder<'a>
impl<'a> Sync for TraceRaysIndirectCommand2KHRBuilder<'a>
impl<'a> Unpin for TraceRaysIndirectCommand2KHRBuilder<'a>
impl<'a> UnwindSafe for TraceRaysIndirectCommand2KHRBuilder<'a>
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