nngn
Loading...
Searching...
No Matches
nngn::VAO Struct Referencefinal

#include <vao.h>

Inheritance diagram for nngn::VAO:
Collaboration diagram for nngn::VAO:

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
 
OpenGLHandleoperator= (const OpenGLHandle &)=delete
 
OpenGLHandleoperator= (OpenGLHandle &&lhs) noexcept
 
 ~OpenGLHandle ()
 
u32 id () const
 
u32id ()
 

Public Attributes

u32 vbo = {}
 
u32 ebo = {}
 

Member Function Documentation

◆ create()

bool nngn::VAO::create ( u32 vbo,
u32 ebo )
Here is the caller graph for this function:

◆ destroy()

bool nngn::VAO::destroy ( )
Here is the caller graph for this function:

◆ vertex_attrib_pointers()

bool nngn::VAO::vertex_attrib_pointers ( const GLProgram & prog,
std::size_t n,
const Attrib * p )
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ ebo

u32 nngn::VAO::ebo = {}

◆ vbo

u32 nngn::VAO::vbo = {}

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