| OpenCV 4.3.0 Open Source Computer Vision

Public Member Functions | Public Attributes | List of all members
cv::cudev::Texture< T > Struct Template Reference
CUDA-accelerated Computer Vision » Device layer

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

Inheritance diagram for cv::cudev::Texture< T >:

## Public Member Functions
__host__ | Texture (const GlobPtrSz< T > &mat, bool normalizedCoords=false, cudaTextureFilterMode filterMode=cudaFilterModePoint, cudaTextureAddressMode addressMode=cudaAddressModeClamp)
__host__ | ~Texture ()
Public Member Functions inherited from cv::cudev::TexturePtr< T >
__device__ __forceinline__ T | operator() (float y, float x) const

## Public Attributes
int | cols
int | rows
Public Attributes inherited from cv::cudev::TexturePtr< T >
cudaTextureObject_t | texObj

## Additional Inherited Members
Public Types inherited from cv::cudev::TexturePtr< T >
typedef float | index_type
typedef T | value_type

## Constructor & Destructor Documentation

## ◆ Texture()

template<typename T >

__host__ cv::cudev::Texture< T >::Texture | ( | const GlobPtrSz< T > & | mat,
|  | bool | normalizedCoords = `false`,
|  | cudaTextureFilterMode | filterMode = `cudaFilterModePoint`,
|  | cudaTextureAddressMode | addressMode = `cudaAddressModeClamp`
| ) |  |
| inline explicit

## ◆ ~Texture()

template<typename T >

__host__ cv::cudev::Texture< T >::~Texture | ( |  | ) |
| inline

## Member Data Documentation

## ◆ cols

template<typename T >

int cv::cudev::Texture< T >::cols

## ◆ rows

template<typename T >

int cv::cudev::Texture< T >::rows

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

- opencv2/cudev/ptr2d/texture.hpp