CG-Project2
Loading...
Searching...
No Matches
ogl::VertexArray Class Reference
Inheritance diagram for ogl::VertexArray:
Collaboration diagram for ogl::VertexArray:

Public Member Functions

void linkAttribFast (const unsigned int &layout, const int &size, const unsigned int &type, const bool &normalize, const int &stride, void *offset) const
virtual void onAttach () override
virtual void onDetach () override
virtual void bind () const override
virtual void unbind () const override
Public Member Functions inherited from ogl::Buffer
unsigned int getId () const

Additional Inherited Members

Protected Attributes inherited from ogl::Buffer
unsigned int m_id = 0

Member Function Documentation

◆ bind()

void ogl::VertexArray::bind ( ) const
overridevirtual

Reimplemented from ogl::Buffer.

◆ onAttach()

void ogl::VertexArray::onAttach ( )
overridevirtual

Reimplemented from ogl::Buffer.

◆ onDetach()

void ogl::VertexArray::onDetach ( )
overridevirtual

Reimplemented from ogl::Buffer.

◆ unbind()

void ogl::VertexArray::unbind ( ) const
overridevirtual

Reimplemented from ogl::Buffer.


The documentation for this class was generated from the following files:
  • Opengl-Core/include/Buffer/VertexArray.hpp
  • Opengl-Core/src/Buffer/VertexArray.cpp