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
 
namespace  MR::Cuda
 

Functions

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