Struct ash::vk::IndirectCommandsLayoutTokenNVBuilder [−][src]
#[repr(transparent)]pub struct IndirectCommandsLayoutTokenNVBuilder<'a> { /* fields omitted */ }
Implementations
pub fn token_type(
self,
token_type: IndirectCommandsTokenTypeNV
) -> 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 push_next<T: ExtendsIndirectCommandsLayoutTokenNV>(
self,
next: &'a mut T
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
pub fn push_next<T: ExtendsIndirectCommandsLayoutTokenNV>(
self,
next: &'a mut T
) -> IndirectCommandsLayoutTokenNVBuilder<'a>
Prepends the given extension struct between the root and the first pointer. This
method only exists on structs that can be passed to a function directly. Only
valid extension structs can be pushed into the chain.
If the chain looks like A -> B -> C
, and you call builder.push_next(&mut D)
, then the
chain will look like A -> D -> B -> C
.
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
The resulting type after dereferencing.