TDME2  1.9.200
TransparentRenderFacesPool_TransparentRenderFacesPool.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <tdme/tdme.h>
6 #include <tdme/utilities/Pool.h>
7 
11 
12 /**
13  * Transparent render faces pool
14  * @author Andreas Drewke
15  */
17  : public Pool<TransparentRenderFace>
18 {
19 public:
20  // forbid class copy
22 
23  /**
24  * Public constructor
25  */
27 
28 protected:
29  /**
30  * Instantiate a transparent render face
31  */
32  inline TransparentRenderFace* instantiate() override {
33  return new TransparentRenderFace();
34  }
35 
36 };
Pool template class.
Definition: Pool.h:20
#define FORBID_CLASS_COPY(CLASS)
Definition: tdme.h:6