Function wgpu_core::command::render_ffi::wgpu_render_pass_set_push_constants
source · #[no_mangle]
pub unsafe extern "C" fn wgpu_render_pass_set_push_constants(
pass: &mut RenderPass,
stages: ShaderStages,
offset: u32,
size_bytes: u32,
data: *const u8
)
Expand description
Safety
This function is unsafe as there is no guarantee that the given pointer is
valid for size_bytes
bytes.