moGL  travis-test-3
Modern OpenGL wrapper, thin C++14 header-only layer on top of the OpenGL 4.5+ core spec
object/buffer/atomiccounterbuffer.hpp
Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 #ifndef MOGL_ATOMICCOUNTERBUFFER_INCLUDED
00012 #define MOGL_ATOMICCOUNTERBUFFER_INCLUDED
00013 
00014 #include <mogl/object/buffer/buffer.hpp>
00015 
00016 namespace mogl
00017 {
00018     class AtomicCounterBuffer : public Buffer
00019     {
00020     public:
00021         AtomicCounterBuffer() : Buffer(GL_ATOMIC_COUNTER_BUFFER) {}
00022         ~AtomicCounterBuffer() = default;
00023 
00024         AtomicCounterBuffer(const AtomicCounterBuffer& other) = delete;
00025         AtomicCounterBuffer& operator=(const AtomicCounterBuffer& other) = delete;
00026 
00027         AtomicCounterBuffer(AtomicCounterBuffer&& other) = default;
00028 
00029     public:
00030         using Buffer::bindBufferBase;
00031         using Buffer::bindBufferRange;
00032     };
00033 }
00034 
00035 #endif // MOGL_ATOMICCOUNTERBUFFER_INCLUDED
 All Classes Namespaces Files Functions Variables Defines