All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
error.h File Reference
#include "../version.h"

Go to the source code of this file.

Namespaces

 OpenSubdiv
 
 OpenSubdiv::OPENSUBDIV_VERSION
 
 OpenSubdiv::OPENSUBDIV_VERSION::Osd
 

Typedefs

typedef void(* ErrorCallbackFunc )(ErrorType err, const char *message)
 
typedef void(* WarningCallbackFunc )(const char *message)
 Sets the warning callback function (default is "printf") More...
 

Enumerations

enum  ErrorType {
  OSD_NO_ERROR, OSD_INTERNAL_CODING_ERROR, OSD_CL_PROGRAM_BUILD_ERROR, OSD_CL_KERNEL_CREATE_ERROR,
  OSD_CL_RUNTIME_ERROR, OSD_CUDA_GL_ERROR, OSD_GL_ERROR, OSD_GLSL_COMPILE_ERROR,
  OSD_GLSL_LINK_ERROR, OSD_D3D11_COMPILE_ERROR, OSD_D3D11_COMPUTE_BUFFER_CREATE_ERROR, OSD_D3D11_VERTEX_BUFFER_CREATE_ERROR,
  OSD_D3D11_BUFFER_MAP_ERROR
}
 

Functions

void SetErrorCallback (ErrorCallbackFunc func)
 
void Error (ErrorType err)
 
void Error (ErrorType err, const char *format,...)
 
void SetWarningCallback (WarningCallbackFunc func)
 
void Warning (const char *format,...)