OpenCV  4.10.0
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::cudev::TexturePtr< T, R > Struct Template Reference

Simple lightweight structures that encapsulate information about an image texture on the device. They are intended to be passed to nvcc-compiled code. More...

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

Public Types

typedef R elem_type
typedef float index_type
typedef R value_type

Public Member Functions

__host__ TexturePtr ()
__host__ TexturePtr (const cudaTextureObject_t tex_)
__device__ __forceinline__ R operator() (index_type x) const
__device__ __forceinline__ R operator() (index_type y, index_type x) const

Detailed Description

template<class T, class R = T>
struct cv::cudev::TexturePtr< T, R >

Simple lightweight structures that encapsulate information about an image texture on the device. They are intended to be passed to nvcc-compiled code.


The documentation for this struct was generated from the following file: