#define DALI_INTERNAL_RENDER_GEOMETRY_H
/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*/
#include <dali/public-api/common/dali-vector.h>
+#include <dali/public-api/rendering/geometry.h>
#include <dali/devel-api/common/owner-container.h>
-#include <dali/devel-api/rendering/geometry.h>
#include <dali/internal/common/owner-pointer.h>
-#include <dali/integration-api/gl-defines.h>
#include <dali/internal/common/buffer-index.h>
#include <dali/internal/common/owner-pointer.h>
#include <dali/integration-api/gl-abstraction.h>
-#include <dali/devel-api/rendering/geometry.h>
-
+#include <dali/integration-api/gl-defines.h>
namespace Dali
{
class Geometry
{
public:
- typedef Dali::Geometry::GeometryType GeometryType;
+ typedef Dali::Geometry::Type Type;
Geometry();
* Sets the geometry type
* @param[in] type The new geometry type
*/
- void SetGeometryType( GeometryType type )
+ void SetType( Type type )
{
mGeometryType = type;
}
Dali::Vector< unsigned short> mIndices;
OwnerPointer< GpuBuffer > mIndexBuffer;
- GeometryType mGeometryType;
+ Type mGeometryType;
// Booleans
bool mIndicesChanged : 1;
bool mHasBeenUpdated : 1;
bool mAttributesChanged : 1;
-
};
} // namespace Render