Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
uniformblock.h
Go to the documentation of this file.
1 
18 #ifndef ION_GFX_UNIFORMBLOCK_H_
19 #define ION_GFX_UNIFORMBLOCK_H_
20 
21 #include "ion/gfx/resourceholder.h"
22 #include "ion/gfx/uniformholder.h"
23 
24 namespace ion {
25 namespace gfx {
26 
39 class ION_API UniformBlock : public ResourceHolder, public UniformHolder {
40  public:
42  enum Changes {
43  kNumChanges = kNumBaseChanges,
44  };
45 
49  UniformBlock();
50 
51  protected:
54  ~UniformBlock() override;
55 };
56 
59 
60 } // namespace gfx
61 } // namespace ion
62 
63 #endif // ION_GFX_UNIFORMBLOCK_H_
Changes
Changes that affect this resource.
Definition: uniformblock.h:42
A UniformBlock is a grouping of uniforms that can be easily shared between multiple Nodes; changing a...
Definition: uniformblock.h:39
A UniformHolder is a base class for an object that holds Uniforms.
Definition: uniformholder.h:39
base::ReferentPtr< UniformBlock >::Type UniformBlockPtr
Convenience typedef for shared pointer to a UniformBlock.
Definition: uniformblock.h:58
A SharedPtr is a smart shared pointer to an instance of some class that implements reference counting...
Definition: sharedptr.h:60
ResourceHolder is an internal base class for objects that hold resources managed by an outside entity...