[4.0] Discard render instruction if it is empty
[platform/core/uifw/dali-core.git] / dali / internal / render / common / render-instruction-container.h
index 1bcff8b..9181243 100644 (file)
@@ -76,6 +76,12 @@ public:
    */
   RenderInstruction& At( BufferIndex bufferIndex, size_t index );
 
+  /**
+   * Discard the current container index
+   * @param bufferIndex to reset
+   */
+  void DiscardCurrentInstruction( BufferIndex bufferIndex );
+
 private:
 
   unsigned int mIndex[ 2 ]; ///< count of the elements that have been added