PeriDyno 0.8.2
Public Member Functions | List of all members
gl::VertexArray Class Reference

#include <VertexArray.h>

Inheritance diagram for gl::VertexArray:
Inheritance graph
[legend]
Collaboration diagram for gl::VertexArray:
Collaboration graph
[legend]

Public Member Functions

virtual void create () override
 
virtual void release () override
 
virtual void bind ()
 
virtual void unbind ()
 
virtual void bindIndexBuffer (Buffer *buffer)
 
virtual void bindVertexBuffer (Buffer *buffer, int index, int size, int type, int stride, int offset, int divisor)
 

Additional Inherited Members

- Public Attributes inherited from gl::Object
unsigned int id = 0xFFFFFFFF
 
- Protected Member Functions inherited from gl::Object
virtual void create ()=0
 
virtual void release ()=0
 
virtual bool isValid () const
 
 Object ()=default
 
virtual ~Object ()=default
 
 Object (const Object &)=delete
 
Objectoperator= (const Object &)=delete
 

Detailed Description

Definition at line 23 of file VertexArray.h.

Member Function Documentation

◆ bind()

void gl::VertexArray::bind ( )
virtual

Definition at line 21 of file VertexArray.cpp.

Here is the caller graph for this function:

◆ bindIndexBuffer()

void gl::VertexArray::bindIndexBuffer ( Buffer buffer)
virtual

Definition at line 31 of file VertexArray.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bindVertexBuffer()

void gl::VertexArray::bindVertexBuffer ( Buffer buffer,
int  index,
int  size,
int  type,
int  stride,
int  offset,
int  divisor 
)
virtual

Definition at line 46 of file VertexArray.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ create()

void gl::VertexArray::create ( )
overridevirtual

Implements gl::Object.

Reimplemented in gl::Mesh.

Definition at line 8 of file VertexArray.cpp.

Here is the caller graph for this function:

◆ release()

void gl::VertexArray::release ( )
overridevirtual

Implements gl::Object.

Reimplemented in gl::Mesh.

Definition at line 13 of file VertexArray.cpp.

Here is the caller graph for this function:

◆ unbind()

void gl::VertexArray::unbind ( )
virtual

Definition at line 26 of file VertexArray.cpp.

Here is the caller graph for this function:

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