# Class: meshtype

The meshtype defines how a mesh's vertex and indexdata is stored for display. Depending on system different capabilities exist.

## Hierarchy

    o-+ renderinterface
      o-+ meshtype

## Methods:

### Method overview:

- auto
- displaylist
- ram
- vbo

auto ()
  returns: (meshtype)
  Either unset or pick 'best' depending on current material assignments.
displaylist ()
  returns: (meshtype)
  Store in displaylist in video ram. All needed attributes are stored along. Local copy is kept in ram as well.
ram ()
  returns: (meshtype)
  Stored in regular ram, submitted with each drawcall. Slow for lots of data, but allows easy changes.
vbo ()
  returns: (meshtype)
  Store in bufferobjects in video/driver ram. Updates to local data

## Inherited Methods: