OpenCV 4.10.0
开源计算机视觉库
正在加载...
正在搜索...
没有匹配项
公共成员函数 | 所有成员列表
cv::cudev::UniqueTexture< T, R > 类模板参考

不可复制的智能 CUDA 纹理对象 更多...

#include <opencv2/cudev/ptr2d/texture.hpp>

cv::cudev::UniqueTexture< T, R > 的协作图

公共成员函数

__host__ UniqueTexture () noexcept
 
__host__ UniqueTexture (const int rows, const int cols, T *data, const size_t step, const bool normalizedCoords=false, const cudaTextureFilterMode filterMode=cudaFilterModePoint, const cudaTextureAddressMode addressMode=cudaAddressModeClamp, const cudaTextureReadMode readMode=cudaReadModeElementType)
 
__host__ UniqueTexture (const size_t sizeInBytes, T *data, const bool normalizedCoords=false, const cudaTextureFilterMode filterMode=cudaFilterModePoint, const cudaTextureAddressMode addressMode=cudaAddressModeClamp, const cudaTextureReadMode readMode=cudaReadModeElementType)
 
__host__ UniqueTexture (UniqueTexture &&other) noexcept
 
__host__ UniqueTexture (UniqueTexture &)=delete
 
__host__ ~UniqueTexture ()
 
__host__ cudaTextureObject_t get () const noexcept
 
__host__ operator bool () const noexcept
 
__host__ UniqueTextureoperator= (const UniqueTexture &)=delete
 
__host__ UniqueTextureoperator= (UniqueTexture &&other) noexcept
 

详细描述

template<class T, class R = T>
class cv::cudev::UniqueTexture< T, R >

不可复制的智能 CUDA 纹理对象

UniqueTexture 是 cudaTextureObject_t 句柄的智能不可共享包装器,它确保句柄在使用后被销毁。


此类的文档是根据以下文件生成的