pub struct IndirectCommandsLayoutTokenNVBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> IndirectCommandsLayoutTokenNVBuilder<'a>
impl<'a> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn token_type(self, token_type: IndirectCommandsTokenTypeNV) -> Self
pub fn stream(self, stream: u32) -> Self
pub fn offset(self, offset: u32) -> Self
pub fn vertex_binding_unit(self, vertex_binding_unit: u32) -> Self
pub fn vertex_dynamic_stride(self, vertex_dynamic_stride: bool) -> Self
pub fn pushconstant_pipeline_layout( self, pushconstant_pipeline_layout: PipelineLayout, ) -> Self
pub fn pushconstant_shader_stage_flags( self, pushconstant_shader_stage_flags: ShaderStageFlags, ) -> Self
pub fn pushconstant_offset(self, pushconstant_offset: u32) -> Self
pub fn pushconstant_size(self, pushconstant_size: u32) -> Self
pub fn indirect_state_flags( self, indirect_state_flags: IndirectStateFlagsNV, ) -> Self
pub fn index_types(self, index_types: &'a [IndexType]) -> Self
pub fn index_type_values(self, index_type_values: &'a [u32]) -> Self
Sourcepub fn build(self) -> IndirectCommandsLayoutTokenNV
pub fn build(self) -> IndirectCommandsLayoutTokenNV
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 IndirectCommandsLayoutTokenNVBuilder<'a>
impl<'a> Deref for IndirectCommandsLayoutTokenNVBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for IndirectCommandsLayoutTokenNVBuilder<'a>
impl<'a> RefUnwindSafe for IndirectCommandsLayoutTokenNVBuilder<'a>
impl<'a> !Send for IndirectCommandsLayoutTokenNVBuilder<'a>
impl<'a> !Sync for IndirectCommandsLayoutTokenNVBuilder<'a>
impl<'a> Unpin for IndirectCommandsLayoutTokenNVBuilder<'a>
impl<'a> UnwindSafe for IndirectCommandsLayoutTokenNVBuilder<'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