UniShader
1.0.0a
Interface for GPGPU and working with shader programs
|
00001 #pragma once 00002 #ifndef OBJECT_BASE_H 00003 #define OBJECT_BASE_H 00004 00005 #include <UniShader/Utility.h> 00006 00007 // Required by all UniShader objects for returning class name 00008 #include <string> 00009 00011 00016 UNISHADER_BEGIN 00017 class UniShader_API ObjectBase{ 00018 protected: 00019 00021 ObjectBase(){} 00022 00023 public: 00024 00026 virtual const std::string& getClassName() const = 0; 00027 00028 }; 00029 UNISHADER_END 00030 00031 #endif