pub fn create_uniform_buffer<T: Pod>( device: &Device, data: &T, label: Option<&str>, ) -> Buffer
Creates a uniform buffer from data.