Brunot
Loading...
Searching...
No Matches
VAO Class Reference

#include <VAO.h>

Public Member Functions

 VAO (const VertexBuffer &vertexBuffer, const IndexBuffer &indexBuffer)
 ~VAO ()
 VAO (const VAO &other)=default
 VAO (VAO &&other) noexcept=default
auto operator= (const VAO &other) -> VAO &=default
auto operator= (VAO &&other) noexcept -> VAO &=default
auto activate () const -> void
auto deactivate () const -> void
auto ID () const -> GLuint

Private Attributes

GLuint VAOID
int color
int position
int textureCoord

Constructor & Destructor Documentation

◆ VAO() [1/3]

VAO::VAO ( const VertexBuffer & vertexBuffer,
const IndexBuffer & indexBuffer )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~VAO()

VAO::~VAO ( )

◆ VAO() [2/3]

VAO::VAO ( const VAO & other)
default
Here is the call graph for this function:

◆ VAO() [3/3]

VAO::VAO ( VAO && other)
defaultnoexcept
Here is the call graph for this function:

Member Function Documentation

◆ activate()

auto VAO::activate ( ) const->void
Here is the call graph for this function:

◆ deactivate()

auto VAO::deactivate ( ) const->void
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ID()

auto VAO::ID ( ) const->GLuint
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=() [1/2]

auto VAO::operator= ( const VAO & other) ->VAO &=default
default
Here is the call graph for this function:

◆ operator=() [2/2]

auto VAO::operator= ( VAO && other) ->VAO &=default
defaultnoexcept
Here is the call graph for this function:

Member Data Documentation

◆ color

int VAO::color
private

◆ position

int VAO::position
private

◆ textureCoord

int VAO::textureCoord
private

◆ VAOID

GLuint VAO::VAOID
private

The documentation for this class was generated from the following files:
  • /home/egrazil/sites/Brunot/The House/source/Graphics/VAO.h
  • /home/egrazil/sites/Brunot/The House/source/Graphics/VAO.cpp