zegaq.blogg.se

What is static ram used for
What is static ram used for









So if you've got 500,000 vertices each with a normal, uv, position, and tangent that comes out to be 24,000,000 bytes ( or 6,000,000 floats ) for vertex data alone. But if it is actually combining the meshes at runtime, it basically allocates a array for each vertex element per vertex per mesh then has to move all that into a fixed sized array the size of all the vertices combined. I don't know how the internals work, maybe someone from unity can clear that up. I have to think the reason it takes so much memory is because of the amount of memory needed to build the mesh.











What is static ram used for