HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
oidn.hpp File Reference
#include <algorithm>
#include "oidn.h"
+ Include dependency graph for oidn.hpp:

Go to the source code of this file.

Classes

class  oidn::BufferRef
 
class  oidn::FilterRef
 
class  oidn::DeviceRef
 

Namespaces

 oidn
 

Typedefs

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

Enumerations

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

Functions

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