Falcon
Public Member Functions | List of all members
VertexArray Class Reference

#include <VertexArray.h>

Public Member Functions

 VertexArray ()
 
 ~VertexArray ()
 
void Bind () const
 
void Unbind () const
 
void AddVertexAttribPointer (u32 loc, u32 size, u32 type, u32 normalize, u32 byteSize, u32 offset, u64 divisor)
 

Detailed Description

Class to initialize and store vertex array object its bound vertexbuffer and its attributes using OpenGL commands..

Constructor & Destructor Documentation

◆ VertexArray()

VertexArray::VertexArray ( )

Main Constructor for the Vertex Array Object Class.

◆ ~VertexArray()

VertexArray::~VertexArray ( )

Main Destructor for the Vertex Array Object Class.

Member Function Documentation

◆ AddVertexAttribPointer()

void VertexArray::AddVertexAttribPointer ( u32  loc,
u32  size,
u32  type,
u32  normalize,
u32  byteSize,
u32  offset,
u64  divisor 
)

◆ Bind()

void VertexArray::Bind ( ) const

Binds this Vertex array Object.

◆ Unbind()

void VertexArray::Unbind ( ) const

Unbinds this Vertex Array Object.


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