Ocular Engine
MeshEmpty.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_GRAPHICS_MESH_EMPTY__H__
19 #define __H__OCULAR_GRAPHICS_MESH_EMPTY__H__
20 
21 #include "Mesh.hpp"
22 
23 //------------------------------------------------------------------------------------------
24 
29 namespace Ocular
30 {
35  namespace Graphics
36  {
41  class MeshEmpty : public Mesh
42  {
43  public:
44 
45  MeshEmpty();
46  virtual ~MeshEmpty();
47 
51  virtual bool bind() override;
52 
56  virtual void unbind() override;
57 
61  virtual void unload() override;
62 
63  protected:
64 
65  private:
66  };
67  }
71 }
76 //------------------------------------------------------------------------------------------
77 
78 #endif
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Combination of a VertexBuffer and IndexBuffer.
Definition: Mesh.hpp:49
virtual bool bind() override
Definition: MeshEmpty.cpp:45
Special default 'empty' Mesh. Typically used internally.
Definition: MeshEmpty.hpp:41
virtual void unload() override
Definition: MeshEmpty.cpp:55
virtual void unbind() override
Definition: MeshEmpty.cpp:50