Sha256: b057a79f256600dd005590b52cc534bb00b3910abdcb0ace2c8b50b06ce33b09
Contents?: true
Size: 987 Bytes
Versions: 25
Compression:
Stored size: 987 Bytes
Contents
// -*- c++ -*- #pragma once #ifndef __RAYS_EXCEPTION_H__ #define __RAYS_EXCEPTION_H__ #include <xot/exception.h> #include <rays/defs.h> namespace Rays { class RaysError : public Xot::XotError { typedef Xot::XotError Super; public: RaysError (const char* str = NULL); }; class OpenGLError : public RaysError { typedef RaysError Super; public: OpenGLError (const char* str = NULL); }; class ShaderError : public OpenGLError { typedef OpenGLError Super; public: ShaderError (const char* str = NULL); }; namespace ErrorFunctions { using namespace Xot::ErrorFunctions; [[noreturn]] void rays_error ( const char* file, int line, const char* format = NULL, ...); [[noreturn]] void opengl_error ( const char* file, int line, const char* format = NULL, ...); [[noreturn]] void shader_error ( const char* file, int line, const char* format = NULL, ...); }// ErrorFunctions using namespace ErrorFunctions; }// Rays #endif//EOH
Version data entries
25 entries across 25 versions & 1 rubygems