AnimEngine
Public Types | Public Member Functions | Protected Types | Protected Attributes | List of all members
OOOGL::CommonVertexFormatVAO Class Reference
Inheritance diagram for OOOGL::CommonVertexFormatVAO:
Inheritance graph
[legend]
Collaboration diagram for OOOGL::CommonVertexFormatVAO:
Collaboration graph
[legend]

Public Types

using vboiterator = LinkedArraysVector_t::iterator
 
using const_vboiterator = LinkedArraysVector_t::const_iterator
 

Public Member Functions

size_t numLinkedArrayBuffers () const
 
size_t numLinkedElementBuffers () const
 
void linkArrayBuffer (GLuint index, ArrayBuffer buffer)
 
void linkElementBuffer (ElementArrayBuffer buffer)
 
void unlinkArrayBuffer (GLuint index)
 
void unlinkArrayBuffer (ArrayBuffer buffer)
 
void unlinkAllArrayBuffers ()
 
void unlinkElementBuffer (ElementArrayBuffer buffer)
 
void unlinkAllElementBuffers ()
 
bool hasLinkedBuffer (GLuint index) const
 
const ArrayBuffer getArrayBuffer (GLuint index) const
 
ArrayBuffer getArrayBuffer (GLuint index)
 
const_vboiterator linkedArrayBufsBegin () const
 
vboiterator linkedArrayBufsBegin ()
 
const_vboiterator linkedArrayBufsEnd () const
 
vboiterator linkedArrayBufsEnd ()
 
std::vector< ElementArrayBuffer >::const_iterator linkedElementBufsBegin () const
 
std::vector< ElementArrayBuffer >::iterator linkedElementBufsBegin ()
 
std::vector< ElementArrayBuffer >::const_iterator linkedElementBufsEnd () const
 
std::vector< ElementArrayBuffer >::iterator linkedElementBufsEnd ()
 
void autoSetupBuffersForDraw ()
 
void autoDisableBuffersAfterDraw ()
 
- Public Member Functions inherited from OOOGL::VertexArrayObject
void bind () const
 
void unbind () const
 
void enableVertexAttribArray (GLuint index)
 
void disableVertexAttribArray (GLuint index)
 
void enableAllVertexAttribs ()
 
void disableAllVertexAttribs ()
 
bool isAttribArrayEnabled (GLuint index) const
 
void setVertexAtrribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer) const
 
void setVertexAttribPointerIntegral (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) const
 
void setVertexAttribPointerLong (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) const
 
void setVertexAttribPointer (GLuint index, const ArrayBuffer::PointerConfig &config) const
 
void autoVertexAttribPointer (GLuint index, ArrayBuffer vbo)
 
virtual size_t numPossessed () const override
 
virtual void possessObject (ArrayBuffer buffer) override
 
virtual void possessObject (ElementArrayBuffer buffer) override
 
virtual bool doesPossessObject (ArrayBuffer buffer) const override
 
virtual bool doesPossessObject (ElementArrayBuffer buffer) const override
 
virtual void dispossessObject (const ArrayBuffer &buffer) override
 
virtual void dispossessObject (const ElementArrayBuffer &buffer) override
 
void possessBuffer (ArrayBuffer buffer)
 
void possessBuffer (ElementArrayBuffer buffer)
 
bool doesPossessBuffer (ArrayBuffer buffer) const
 
bool doesPossessBuffer (ElementArrayBuffer buffer) const
 
void dispossessBuffer (const ArrayBuffer &buffer)
 
void dispossessBuffer (const ElementArrayBuffer &buffer)
 
- Public Member Functions inherited from OOOGL::OglObject
 OglObject (OglObjectDestroyer destroyer)
 
- Public Member Functions inherited from OOOGL::PersistentOglName
 PersistentOglName (OglObjectDestroyer destroyer)
 
 PersistentOglName (GLuint id, OglObjectDestroyer destroyer)
 
GLuint * getIdPtr ()
 
const GLuint * getIdPtr () const
 
virtual GLuint getName () const override
 
GLuint getNameDirect () const
 
virtual bool isPossessible () const override
 
virtual void makeZombie ()
 
virtual bool isZombie () const
 
- Public Member Functions inherited from OOOGL::OglNameInterface
 operator GLuint () const
 

Protected Types

typedef OptionalIndexedBindingVector< ArrayBufferLinkedArraysVector_t
 
typedef std::vector< ElementArrayBufferLinkedElementsVector_t
 

Protected Attributes

LinkedArraysVector_t linked_vbos
 
LinkedElementsVector_t linked_elbos
 
- Protected Attributes inherited from OOOGL::VertexArrayObject
std::vector< bool > attrib_enabled_LUT
 
size_t attrib_count = 0
 

Additional Inherited Members

- Protected Member Functions inherited from OOOGL::OglObject
 OglObject (const PersistentOglName &zombie)
 

The documentation for this class was generated from the following files: