Struct ash::vk::GraphicsShaderGroupCreateInfoNVBuilder
source · [−]#[repr(transparent)]pub struct GraphicsShaderGroupCreateInfoNVBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> GraphicsShaderGroupCreateInfoNVBuilder<'a>
impl<'a> GraphicsShaderGroupCreateInfoNVBuilder<'a>
pub fn stages(self, stages: &'a [PipelineShaderStageCreateInfo]) -> Self
pub fn vertex_input_state(
self,
vertex_input_state: &'a PipelineVertexInputStateCreateInfo
) -> Self
pub fn tessellation_state(
self,
tessellation_state: &'a PipelineTessellationStateCreateInfo
) -> Self
sourcepub fn build(self) -> GraphicsShaderGroupCreateInfoNV
pub fn build(self) -> GraphicsShaderGroupCreateInfoNV
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
sourceimpl<'a> Deref for GraphicsShaderGroupCreateInfoNVBuilder<'a>
impl<'a> Deref for GraphicsShaderGroupCreateInfoNVBuilder<'a>
type Target = GraphicsShaderGroupCreateInfoNV
type Target = GraphicsShaderGroupCreateInfoNV
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for GraphicsShaderGroupCreateInfoNVBuilder<'a>
impl<'a> !Send for GraphicsShaderGroupCreateInfoNVBuilder<'a>
impl<'a> !Sync for GraphicsShaderGroupCreateInfoNVBuilder<'a>
impl<'a> Unpin for GraphicsShaderGroupCreateInfoNVBuilder<'a>
impl<'a> UnwindSafe for GraphicsShaderGroupCreateInfoNVBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more