Struct pilka_lib::ash::vk::PushConstantRangeBuilder [−]
#[repr(transparent)]pub struct PushConstantRangeBuilder<'a> { /* fields omitted */ }
Implementations
impl<'a> PushConstantRangeBuilder<'a>
impl<'a> PushConstantRangeBuilder<'a>
pub fn stage_flags(
self,
stage_flags: ShaderStageFlags
) -> PushConstantRangeBuilder<'a>
pub fn offset(self, offset: u32) -> PushConstantRangeBuilder<'a>
pub fn size(self, size: u32) -> PushConstantRangeBuilder<'a>
pub fn build(self) -> PushConstantRange
pub fn build(self) -> PushConstantRange
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 = PushConstantRange>
Trait Implementations
impl<'a> Deref for PushConstantRangeBuilder<'a>
impl<'a> Deref for PushConstantRangeBuilder<'a>
type Target = PushConstantRange
type Target = PushConstantRange
The resulting type after dereferencing.
pub fn deref(&self) -> &<PushConstantRangeBuilder<'a> as Deref>::Target
pub fn deref(&self) -> &<PushConstantRangeBuilder<'a> as Deref>::Target
Dereferences the value.
impl<'a> DerefMut for PushConstantRangeBuilder<'a>
impl<'a> DerefMut for PushConstantRangeBuilder<'a>
pub fn deref_mut(
&mut self
) -> &mut <PushConstantRangeBuilder<'a> as Deref>::Target
pub fn deref_mut(
&mut self
) -> &mut <PushConstantRangeBuilder<'a> as Deref>::Target
Mutably dereferences the value.