MeshLib C++ Docs
Loading...
Searching...
No Matches
MRCudaPointCloud.h File Reference
#include "exports.h"
#include "MRMesh/MRMeshFwd.h"
#include "MRMesh/MRExpected.h"

Go to the source code of this file.

Namespaces

namespace  MR
 Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).
namespace  MR::Cuda

Functions

Expected< std::unique_ptr< PointCloudDataHolder > > MR::Cuda::copyDataFrom (const PointCloud &pc, bool copyNormals=false, const VertNormals *normals=nullptr)
 copy point cloud-related data to the GPU memory
size_t MR::Cuda::pointCloudHeapBytes (const PointCloud &pc, bool copyNormals=false, const VertNormals *normals=nullptr)
 return the amount of GPU memory required for PointCloudDataHolder