Understanding pasture
point buffers in detail
In this section you will learn all the nitty-gritty details of the point buffer types in pasture
, so that you can write the most efficient point cloud code that your application requires. The point buffer explanation comes in three levels of detail:
- An overview of the built-in point buffer types: A hands-on look at the built-in buffer types that
pasture
provides, and how you can use them in your code. This subsection is focused on usage patterns and thus describes how to use the point buffer types, ignoring why they work the way they do. - Explanations of the buffer traits in
pasture
, including an explanation of the memory layout and ownership model. Here you will learn about all the point buffer traits thatpasture
exposes, why they are designed the way they are, and how you can choose the right buffer type for your application. - A guide on how to implement your own point buffer type
There is also a special section on buffer slices, which are similar to the Rust built-in slice type [T]
.