Class DataType
Defined in File DataType.hpp
Class Documentation
-
class DataType
Public Functions
-
constexpr DataType()
Default constructor. Initializes to a default data type.
-
explicit constexpr DataType(NVCVDataType type)
Construct from a native data type.
- Parameters:
type – The native data type.
-
inline DataType(DataKind dataKind, Packing packing)
Construct from a data kind and packing.
- Parameters:
dataKind – The kind of data (e.g., floating point, integer).
packing – The packing of the data (e.g., channel ordering).
-
constexpr operator NVCVDataType() const
Implicit conversion to the native data type.
- Returns:
The native data type.
-
constexpr DataType()