#define DALI_INTERNAL_SCENE_GRAPH_UNIFORM_MAP_DATA_PROVIDER_H
/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2017 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.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-#include <dali/public-api/common/dali-vector.h>
-#include <dali/integration-api/resource-declarations.h>
#include <dali/internal/common/buffer-index.h>
+#include <dali/internal/update/common/uniform-map.h>
+#include <dali/public-api/common/dali-vector.h>
namespace Dali
{
class UniformMap;
class UniformPropertyMapping;
-typedef Dali::Vector< const UniformPropertyMapping* > CollectedUniformMap;
+using CollectedUniformMap = Dali::Vector<UniformPropertyMapping>;
/**
* This class maps uniform names to property value pointers.
/**
* Constructor
*/
- UniformMapDataProvider()
- {
- }
+ UniformMapDataProvider() = default;
/**
* Return true if the uniform map has been changed this frame
/**
* No deletion through this interface
*/
- virtual ~UniformMapDataProvider()
- {
- }
+ virtual ~UniformMapDataProvider() = default;
};
} // namespace SceneGraph