Property::Map polyhedraVertexFormat;
polyhedraVertexFormat["aPosition"] = Property::VECTOR2;
polyhedraVertexFormat["aHue"] = Property::FLOAT;
- VertexBuffer polyhedraVertices = VertexBuffer::New( polyhedraVertexFormat );
+ PropertyBuffer polyhedraVertices = PropertyBuffer::New( polyhedraVertexFormat );
polyhedraVertices.SetData( polyhedraVertexData, numSides );
// Create the geometry object
void OnKeyEvent(const KeyEvent& event)
{
- if(event.GetState() == KeyEvent::Down)
+ if(event.state == KeyEvent::Down)
{
if( IsKey( event, Dali::DALI_KEY_ESCAPE) || IsKey( event, Dali::DALI_KEY_BACK) )
{