NVIDIA Iray API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
types.h File Reference

Basic types. More...

Go to the source code of this file.

Classes

struct   mi::base::numeric_traits_base< T >
  Base class for the helper class to deduce properties of numeric types defined in this API. More...
 
struct   mi::base::numeric_traits< T >
  Helper class to deduce properties of numeric types defined in this API. More...
 
struct   mi::base::numeric_traits< Sint8 >
  Numeric traits specialization for mi::Sint8. More...
 
struct   mi::base::numeric_traits< Sint16 >
  Numeric traits specialization for mi::Sint16. More...
 
struct   mi::base::numeric_traits< Sint32 >
  Numeric traits specialization for mi::Sint32. More...
 
struct   mi::base::numeric_traits< Sint64 >
  Numeric traits specialization for mi::Sint64. More...
 
struct   mi::base::numeric_traits< Uint8 >
  Numeric traits specialization for mi::Uint8. More...
 
struct   mi::base::numeric_traits< Uint16 >
  Numeric traits specialization for mi::Uint16. More...
 
struct   mi::base::numeric_traits< Uint32 >
  Numeric traits specialization for mi::Uint32. More...
 
struct   mi::base::numeric_traits< Uint64 >
  Numeric traits specialization for mi::Uint64. More...
 
struct   mi::base::numeric_traits< Float32 >
  Numeric traits specialization for mi::Float32. More...
 
struct   mi::base::numeric_traits< Float64 >
  Numeric traits specialization for mi::Float64. More...
 

Namespaces

  mi
  Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
 
  mi::base
  Namespace for the Base API.
 

Constant Groups

  mi
  Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
 
  mi::base
  Namespace for the Base API.
 

Macros

#define  MI_PI   3.14159265358979323846
  Value of Pi. More...
 
#define  MI_PI_2   1.57079632679489661923
  Value of Pi / 2. More...
 
#define  MI_PI_4   0.78539816339744830962
  Value of Pi / 4. More...
 

Typedefs

typedef signed char  mi::Sint8
  8-bit signed integer. More...
 
typedef signed short  mi::Sint16
  16-bit signed integer. More...
 
typedef signed int  mi::Sint32
  32-bit signed integer. More...
 
typedef unsigned char  mi::Uint8
  8-bit unsigned integer. More...
 
typedef unsigned short  mi::Uint16
  16-bit unsigned integer. More...
 
typedef unsigned int  mi::Uint32
  32-bit unsigned integer. More...
 
typedef float  mi::Float32
  32-bit float. More...
 
typedef double  mi::Float64
  64-bit float. More...
 
typedef long long  mi::Sint64
  64-bit signed integer. More...
 
typedef unsigned long long  mi::Uint64
  64-bit unsigned integer. More...
 
typedef Uint64  mi::Size
  Unsigned integral type that is large enough to hold the size of all types. More...
 
typedef Sint64  mi::Difference
  Signed integral type that is large enough to hold the difference of two pointers. More...
 

Enumerations

enum   mi::Comparison_result {
  mi::NEGATIVE = -1,
  mi::ZERO = 0,
  mi::POSITIVE = 1,
  mi::LESS = -1,
  mi::EQUAL = 0,
  mi::GREATER = 1
}
  An enum for a three-valued comparison result. More...
 

Functions

Comparison_result  mi::operator- (Comparison_result sign)
  Reverse the sign of a three valued enum. More...
 
template<typename T >
Comparison_result  mi::three_valued_sign (T t)
  Return the three valued sign for a numerical type T. More...
 
template<typename T >
Comparison_result  mi::three_valued_compare (T lhs, T rhs)
  Return the three valued comparison result between two values of a numerical type T. More...
 
template<class Target , class Source >
Target  mi::base::binary_cast (Source const &val)
  Cast an immutable 'Source' value to an immutable 'Target' value. More...
 

Variables

static const Size  mi::SIZE_MAX_VALUE = 18446744073709551615ULL
  The maximum value for Size. More...
 
static const Difference  mi::DIFFERENCE_MIN_VALUE = -9223372036854775807LL - 1LL
  The minimum value for Difference. More...
 
static const Difference  mi::DIFFERENCE_MAX_VALUE = 9223372036854775807LL
  The maximum value for Difference. More...
 

Detailed Description

Basic types.

See Basic Types.