Delegate CreateGpuData<TGpuData, TPoint>
Generic delegate to inject a method that nows how to actually create a GpuMesh or InstanceData for the given point type.
Namespace: Fusee.PointCloud.Core
Assembly: Fusee.PointCloud.Core.dll
Syntax
public delegate TGpuData CreateGpuData<TGpuData, TPoint>(PointAccessor<TPoint> ptAccessor, TPoint[] points, OctantId octantId);
Parameters
| Type | Name | Description |
|---|---|---|
| PointAccessor<TPoint> | ptAccessor | The PointAccessor<TPoint> that can be used to access the point data without casting the points. |
| TPoint[] | points | The point cloud points as generic array. |
| OctantId | octantId |
Returns
| Type | Description |
|---|---|
| TGpuData |
Type Parameters
| Name | Description |
|---|---|
| TGpuData | |
| TPoint | Generic that describes the point type. |