Brenta Engine 1.2
Loading...
Searching...
No Matches
brenta::Vao Class Reference

Public Member Functions

constexpr Vao (const Vao &other)=delete
 
constexpr Vaooperator= (const Vao &other)=delete
 
constexpr Vao (Vao &&other) noexcept
 
constexpr Vaooperator= (Vao &&other) noexcept
 
void init ()
 
void destroy ()
 
void bind () const
 
void unbind () const
 
unsigned int get_id () const
 
void link_buffer (const Buffer &vbo, unsigned int layout_index, GLint components, GLenum type, GLboolean normalized, GLsizei stride, const void *offset)
 

Detailed Description

Definition at line 38 of file vao.hpp.

Constructor & Destructor Documentation

◆ Vao() [1/2]

brenta::Vao::Vao ( )
inline

Definition at line 42 of file vao.hpp.

◆ Vao() [2/2]

constexpr brenta::Vao::Vao ( Vao &&  other)
inlineconstexprnoexcept

Definition at line 45 of file vao.hpp.

◆ ~Vao()

Vao::~Vao ( )

Definition at line 11 of file vao.cpp.

Member Function Documentation

◆ bind()

void Vao::bind ( ) const

Definition at line 35 of file vao.cpp.

◆ destroy()

void Vao::destroy ( )

Definition at line 24 of file vao.cpp.

◆ get_id()

unsigned int Vao::get_id ( ) const

Definition at line 52 of file vao.cpp.

◆ init()

void Vao::init ( )

Definition at line 17 of file vao.cpp.

◆ link_buffer()

void Vao::link_buffer ( const Buffer vbo,
unsigned int  layout_index,
GLint  components,
GLenum  type,
GLboolean  normalized,
GLsizei  stride,
const void *  offset 
)

Definition at line 59 of file vao.cpp.

◆ operator=()

constexpr Vao & brenta::Vao::operator= ( Vao &&  other)
inlineconstexprnoexcept

Definition at line 50 of file vao.hpp.

◆ unbind()

void Vao::unbind ( ) const

Definition at line 46 of file vao.cpp.


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