#define DALI_INTERNAL_RENDER_GEOMETRY_H
/*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2018 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.
namespace Render
{
-class VertexBuffer;
+class PropertyBuffer;
/**
* This class encapsulates the GPU buffers. It is used to upload vertex data
/**
* Adds a property buffer to the geometry
- * @param[in] dataProvider The VertexBuffer data provider
+ * @param[in] dataProvider The PropertyBuffer data provider
*/
- void AddVertexBuffer( Render::VertexBuffer* vertexBuffer );
+ void AddPropertyBuffer( Render::PropertyBuffer* propertyBuffer );
/**
* Set the data for the index buffer to be used by the geometry
void SetIndexBuffer( Dali::Vector<uint16_t>& indices );
/**
- * Removes a VertexBuffer from the geometry
- * @param[in] vertexBuffer The property buffer to be removed
+ * Removes a PropertyBuffer from the geometry
+ * @param[in] propertyBuffer The property buffer to be removed
*/
- void RemoveVertexBuffer( const Render::VertexBuffer* vertexBuffer );
+ void RemovePropertyBuffer( const Render::PropertyBuffer* propertyBuffer );
/**
* Gets the attribute locations on the shader for the attributes defined in the geometry RenderBuffers
private:
- // VertexBuffers
- Vector< Render::VertexBuffer* > mVertexBuffers;
+ // PropertyBuffers
+ Vector< Render::PropertyBuffer* > mVertexBuffers;
Dali::Vector< uint16_t > mIndices;
OwnerPointer< GpuBuffer > mIndexBuffer;