#define DALI_INTERNAL_SCENE_GRAPH_PROPERTY_BUFFER_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.
// INTERNAL INCLUDES
#include <dali/public-api/object/property.h>
-#include <dali/integration-api/resource-declarations.h>
#include <dali/internal/common/buffer-index.h>
namespace Dali
}
/**
- * Check if the data has changed
- * @param[in] bufferIndex Index to access double buffered values
- * @return true if the data has changed
- */
- virtual bool HasDataChanged( BufferIndex bufferIndex ) const = 0;
-
- /**
* Get the number of attributes
* @param[in] bufferIndex Index to access double buffered values
* @return the number of attributes
*/
virtual unsigned int GetGpuBufferId( BufferIndex bufferIndex ) const = 0;
+ /**
+ * Checks if data in the PropertyBuffer has changed repect previous frame
+ * @param[in] bufferIndex Index to access double buffered values
+ * @return true if data has changed, false otherwise
+ */
+ virtual bool HasDataChanged( BufferIndex bufferIndex ) const = 0;
+
protected:
/**
* No deletion through this interface