Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
indexbuffer.h
Go to the documentation of this file.
1 
18 #ifndef ION_GFX_INDEXBUFFER_H_
19 #define ION_GFX_INDEXBUFFER_H_
20 
21 #include "ion/gfx/bufferobject.h"
22 
23 namespace ion {
24 namespace gfx {
25 
28 class ION_API IndexBuffer : public BufferObject {
29  public:
30  IndexBuffer();
31 
32  protected:
35  ~IndexBuffer() override;
36 };
37 
39 
40 } // namespace gfx
41 } // namespace ion
42 
43 #endif // ION_GFX_INDEXBUFFER_H_
An IndexBuffer is a type of BufferObject that contains the element indices of an array, e.g., a vertex index array.
Definition: indexbuffer.h:28
base::ReferentPtr< IndexBuffer >::Type IndexBufferPtr
Definition: indexbuffer.h:38
A BufferObject describes a generic array of data used, for example, to describe the vertices in a Sha...
Definition: bufferobject.h:67
A SharedPtr is a smart shared pointer to an instance of some class that implements reference counting...
Definition: sharedptr.h:60