Public Member Functions

sp::video::VertexFormatDefault Class Reference

#include <spVertexFormatList.hpp>

Inheritance diagram for sp::video::VertexFormatDefault:
sp::video::VertexFormat

List of all members.

Public Member Functions

 VertexFormatDefault ()
 ~VertexFormatDefault ()
u32 getFormatSize () const
 With this vertex format each vertex needs 60 bytes on VRAM.

Detailed Description

Default predefined vertex format with the following attributes: Coordinate (float[3]), Normal (float[3]), Color (unsigned char[4]), TexCoord[0 - 3] (float[2]).


Constructor & Destructor Documentation

sp::video::VertexFormatDefault::VertexFormatDefault (  ) 
sp::video::VertexFormatDefault::~VertexFormatDefault (  ) 

Member Function Documentation

u32 sp::video::VertexFormatDefault::getFormatSize (  )  const [virtual]

With this vertex format each vertex needs 60 bytes on VRAM.

Reimplemented from sp::video::VertexFormat.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines