nngn
|
#include <vao.h>
Classes | |
struct | Attrib |
Public Member Functions | |
bool | create (u32 vbo, u32 ebo) |
bool | destroy () |
bool | vertex_attrib_pointers (const GLProgram &prog, std::size_t n, const Attrib *p) |
Public Member Functions inherited from nngn::OpenGLHandle< VAO > | |
constexpr | OpenGLHandle ()=default |
constexpr | OpenGLHandle (u32 h) noexcept |
OpenGLHandle (const OpenGLHandle &)=delete | |
OpenGLHandle (OpenGLHandle &&lhs) noexcept | |
OpenGLHandle & | operator= (const OpenGLHandle &)=delete |
OpenGLHandle & | operator= (OpenGLHandle &&lhs) noexcept |
~OpenGLHandle () | |
u32 | id () const |
u32 & | id () |
Public Attributes | |
u32 | vbo = {} |
u32 | ebo = {} |
bool nngn::VAO::destroy | ( | ) |
u32 nngn::VAO::ebo = {} |
u32 nngn::VAO::vbo = {} |