Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Deleting/Clearing VBOs

Discussion in 'Scripting' started by grahnzz, Apr 20, 2014.

  1. grahnzz

    grahnzz

    Joined:
    May 7, 2013
    Posts:
    46
    I am generating, modifying and deleting meshes at runtime. And the VBO total count never drops down. I was playing around a little and came up to 30k VBOs, even though i had ~70 draw calls at that time.

    anyone that knows whats really going on in the background here? is VBO total allocated VBOs on vRAM or is it just the total VBOs that has existed throughout the lifetime of the program?
     
  2. landon912

    landon912

    Joined:
    Nov 8, 2011
    Posts:
    1,579
    If there is a way to influence the VBO buffer I haven't found it yet. I have the same issue. Meshes just don't seem to be collected.
     
  3. Trigve

    Trigve

    Joined:
    Mar 17, 2013
    Posts:
    139