Nymph Game Engine
Chaiscript based Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
base_sampler.h
Go to the documentation of this file.
1 #ifndef BASE_SAMPLER_H
2 #define BASE_SAMPLER_H
3 
4 namespace Graphics {
5  class BaseSampler {
6  private:
7  unsigned int sampler_object;
8  public:
9  BaseSampler();
10  virtual ~BaseSampler();
11  virtual void bind(const unsigned int texture_unit);
12  virtual unsigned int getSamplerObject() const noexcept;
13  };
14 }
15 #endif
virtual void bind(const unsigned int texture_unit)
Definition: base_sampler.cpp:19
Definition: base_sampler.h:5
BaseSampler()
Definition: base_sampler.cpp:9
virtual unsigned int getSamplerObject() const noexcept
Definition: base_sampler.cpp:23
virtual ~BaseSampler()
Definition: base_sampler.cpp:15