Type Alias PushConstantRange

Source
pub type PushConstantRange = VkPushConstantRange;

Aliased Type§

#[repr(C)]
pub struct PushConstantRange { pub stageFlags: u32, pub offset: u32, pub size: u32, }

Fields§

§stageFlags: u32§offset: u32§size: u32

Implementations§

Source§

impl PushConstantRange

Source

pub const fn new( shader_stage: VkShaderStageFlags, byte_range: Range<u32>, ) -> Self

Source

pub const fn for_type<T>(shader_stage: VkShaderStageFlags, offset: u32) -> Self