PeriDyno 1.0.0
Loading...
Searching...
No Matches
dyno::VertexArray Class Reference

#include <VertexArray.h>

Inheritance diagram for dyno::VertexArray:
Collaboration diagram for dyno::VertexArray:

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)
 
- Public Member Functions inherited from dyno::Object
 Object ()
 
virtual ~Object ()
 
ObjectId objectId ()
 

Additional Inherited Members

- Static Public Member Functions inherited from dyno::Object
static bool registerClass (ClassInfo *ci)
 
static ObjectcreateObject (std::string name)
 
static std::map< std::string, ClassInfo * > * getClassMap ()
 
static ObjectId baseId ()
 Base Id.
 
- Public Attributes inherited from dyno::GraphicsObject
unsigned int id = 0xFFFFFFFF
 
- Protected Member Functions inherited from dyno::GraphicsObject
virtual bool isValid () const
 
 GraphicsObject ()=default
 
virtual ~GraphicsObject ()=default
 
 GraphicsObject (const GraphicsObject &)=delete
 
GraphicsObjectoperator= (const GraphicsObject &)=delete
 

Detailed Description

Definition at line 23 of file VertexArray.h.

Member Function Documentation

◆ bind()

void dyno::VertexArray::bind ( )
virtual

Definition at line 21 of file VertexArray.cpp.

Here is the caller graph for this function:

◆ bindIndexBuffer()

void dyno::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 dyno::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 dyno::VertexArray::create ( )
overridevirtual

Implements dyno::GraphicsObject.

Reimplemented in dyno::Mesh.

Definition at line 8 of file VertexArray.cpp.

Here is the caller graph for this function:

◆ release()

void dyno::VertexArray::release ( )
overridevirtual

Implements dyno::GraphicsObject.

Reimplemented in dyno::Mesh.

Definition at line 13 of file VertexArray.cpp.

Here is the caller graph for this function:

◆ unbind()

void dyno::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: