Skip to main content

axiolid_v0_4_visible_faces

Function axiolid_v0_4_visible_faces 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn axiolid_v0_4_visible_faces( context: AxiolidContextHandle, meshes: *const AxiolidViewMesh, mesh_count: usize, view: *const AxiolidView, region: *const AxiolidImageBox, limits: *const AxiolidVisibleFaceLimits, tolerance_value: AxiolidTolerance, out_result: *mut AxiolidResultHandle, ) -> AxiolidStatus
Expand description

Find the regions where each face group is frontmost and return an owned result handle (read it with the visible_faces_* functions).

meshes and every groups array are borrowed for this call. A null region is no crop. The context’s max_meshes bounds mesh_count.

§Safety

Every non-null pointer must be aligned and valid for the documented read or write extent.