Ocular Engine
MeshMissing.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_GRAPHICS_MESH_MISSING__H__
19 #define __H__OCULAR_GRAPHICS_MESH_MISSING__H__
20 
21 #include "Mesh.hpp"
22 
23 //------------------------------------------------------------------------------------------
24 
29 namespace Ocular
30 {
35  namespace Graphics
36  {
41  class MeshMissing : public Mesh
42  {
43  public:
44 
45  MeshMissing();
46  virtual ~MeshMissing();
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 void unload() override
Definition: MeshMissing.cpp:55
Special default 'missing' Mesh. Typically used internally.
Definition: MeshMissing.hpp:41
virtual void unbind() override
Definition: MeshMissing.cpp:50
virtual bool bind() override
Definition: MeshMissing.cpp:45