HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
oidn Namespace Reference

Classes

class  BufferRef
 
class  FilterRef
 
class  DeviceRef
 

Typedefs

typedef bool(* ProgressMonitorFunction )(void *userPtr, double n)
 
typedef void(* ErrorFunction )(void *userPtr, Error code, const char *message)
 

Enumerations

enum  Format {
  Format::Undefined = OIDN_FORMAT_UNDEFINED, Format::Float = OIDN_FORMAT_FLOAT, Format::Float2 = OIDN_FORMAT_FLOAT2, Format::Float3 = OIDN_FORMAT_FLOAT3,
  Format::Float4 = OIDN_FORMAT_FLOAT4
}
 
enum  Access { Access::Read = OIDN_ACCESS_READ, Access::Write = OIDN_ACCESS_WRITE, Access::ReadWrite = OIDN_ACCESS_READ_WRITE, Access::WriteDiscard = OIDN_ACCESS_WRITE_DISCARD }
 
enum  DeviceType { DeviceType::Default = OIDN_DEVICE_TYPE_DEFAULT, DeviceType::CPU = OIDN_DEVICE_TYPE_CPU }
 
enum  Error {
  Error::None = OIDN_ERROR_NONE, Error::Unknown = OIDN_ERROR_UNKNOWN, Error::InvalidArgument = OIDN_ERROR_INVALID_ARGUMENT, Error::InvalidOperation = OIDN_ERROR_INVALID_OPERATION,
  Error::OutOfMemory = OIDN_ERROR_OUT_OF_MEMORY, Error::UnsupportedHardware = OIDN_ERROR_UNSUPPORTED_HARDWARE, Error::Cancelled = OIDN_ERROR_CANCELLED
}
 

Functions

DeviceRef newDevice (DeviceType type=DeviceType::Default)
 

Typedef Documentation

typedef void(* oidn::ErrorFunction)(void *userPtr, Error code, const char *message)

Definition at line 318 of file oidn.hpp.

typedef bool(* oidn::ProgressMonitorFunction)(void *userPtr, double n)

Definition at line 135 of file oidn.hpp.

Enumeration Type Documentation

enum oidn::Access
strong
Enumerator
Read 
Write 
ReadWrite 
WriteDiscard 

Definition at line 41 of file oidn.hpp.

enum oidn::DeviceType
strong
Enumerator
Default 
CPU 

Definition at line 298 of file oidn.hpp.

enum oidn::Error
strong
Enumerator
None 
Unknown 
InvalidArgument 
InvalidOperation 
OutOfMemory 
UnsupportedHardware 
Cancelled 

Definition at line 306 of file oidn.hpp.

enum oidn::Format
strong
Enumerator
Undefined 
Float 
Float2 
Float3 
Float4 

Definition at line 29 of file oidn.hpp.

Function Documentation

DeviceRef oidn::newDevice ( DeviceType  type = DeviceType::Default)
inline

Definition at line 463 of file oidn.hpp.