pub unsafe fn cmd_push_constants(&self, command_buffer: CommandBufferHandle,
            layout: PipelineLayoutHandle, stage_flags: ShaderStageFlags, offset: u32,
            values: &[u8]) {
        self.proc_addr_loader().vk.vkCmdPushConstants(command_buffer.to_raw(),
            layout.to_raw(),
            stage_flags.bits(), offset, values.len() as u32, values.as_ptr() as *const c_void);
    }
/// Updates the values of push constants.
///
/// https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdPushConstants.html
//
// *PFN_vkCmdPushConstants)(VkCommandBuffer commandBuffer,
// VkPipelineLayout layout, VkShaderStageFlags stageFlags, uint32_t
// offset, uint32_t size, const void* pValues);
Updates the values of push constants.


Updates the values of push constants .
pub unsafe fn cmd_push_constants(&self, command_buffer: CommandBufferHandle,
            layout: PipelineLayoutHandle, stage_flags: ShaderStageFlags, offset: u32,
            values: &[u8]) {
        self.proc_addr_loader().vk.vkCmdPushConstants(command_buffer.to_raw(),
            layout.to_raw(),
            stage_flags.bits(), offset, values.len() as u32, values.as_ptr() as *const c_void);
    }
pub unsafe fn cmd_push_constants ( & self , command_buffer : CommandBufferHandle , layout : PipelineLayoutHandle , stage_flags : ShaderStageFlags , offset : u32 , values : & [ u8 ] ) { self . proc_addr_loader ( ) . vk . vkCmdPushConstants ( command_buffer . to_raw ( ) , layout . to_raw ( ) , stage_flags . bits ( ) , offset , values . len ( ) as u32 , values . as_ptr ( ) as * const c_void ) ; }
Updates the values of push constants.
Updates the values of push constants .
&self
command_buffer
CommandBufferHandle
layout
PipelineLayoutHandle
stage_flags
ShaderStageFlags
offset
u32
values
&[u8]
&self
command_buffer
CommandBufferHandle
layout
PipelineLayoutHandle
stage_flags
ShaderStageFlags
offset
u32
values
&[u8]