Struct pilka_lib::ash::vk::IndirectCommandsLayoutTokenNVBuilder [−]
#[repr(transparent)]pub struct IndirectCommandsLayoutTokenNVBuilder<'a> { /* fields omitted */ }
Implementations
impl<'a> IndirectCommandsLayoutTokenNVBuilder<'a>
impl<'a> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn token_type(
self,
token_type: IndirectCommandsTokenTypeNV
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn stream(self, stream: u32) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn offset(self, offset: u32) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn vertex_binding_unit(
self,
vertex_binding_unit: u32
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn vertex_dynamic_stride(
self,
vertex_dynamic_stride: bool
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn pushconstant_pipeline_layout(
self,
pushconstant_pipeline_layout: PipelineLayout
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn pushconstant_shader_stage_flags(
self,
pushconstant_shader_stage_flags: ShaderStageFlags
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn pushconstant_offset(
self,
pushconstant_offset: u32
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn pushconstant_size(
self,
pushconstant_size: u32
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn indirect_state_flags(
self,
indirect_state_flags: IndirectStateFlagsNV
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn index_types(
self,
index_types: &'a [IndexType]
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn index_type_values(
self,
index_type_values: &'a [u32]
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub 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.
Methods from Deref<Target = IndirectCommandsLayoutTokenNV>
Trait Implementations
impl<'a> Deref for IndirectCommandsLayoutTokenNVBuilder<'a>
impl<'a> Deref for IndirectCommandsLayoutTokenNVBuilder<'a>
The resulting type after dereferencing.
pub fn deref(
&self
) -> &<IndirectCommandsLayoutTokenNVBuilder<'a> as Deref>::Target
pub fn deref(
&self
) -> &<IndirectCommandsLayoutTokenNVBuilder<'a> as Deref>::Target
Dereferences the value.
impl<'a> DerefMut for IndirectCommandsLayoutTokenNVBuilder<'a>
impl<'a> DerefMut for IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn deref_mut(
&mut self
) -> &mut <IndirectCommandsLayoutTokenNVBuilder<'a> as Deref>::Target
pub fn deref_mut(
&mut self
) -> &mut <IndirectCommandsLayoutTokenNVBuilder<'a> as Deref>::Target
Mutably dereferences the value.