iOS cpu too high #6600
SiuyuenChow
started this conversation in
General
Replies: 1 comment 2 replies
-
How are you determining the CPU usage is "too high"? What's the baseline CPU usage when, for example, you're only rendering a single entity? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello,
I have a scene that needs to render new entities every second.
These entities do not load the model directly, but are rendered through Vertex and Index.
Whenever I needed to render a new entity, I removed the old entity from the scene and added the new entity.
So the problem is, the CPU stays high.
I feel like it's probably a result of rendering new entities too often,
I'm trying to add entities and put them in an array, render the entities array all at once,
I see a creation method to add an array of entities, but I don't see a method to put entities in an array.
If there is a good way, please let me know.
Thanks.
code :
` struct Vertex *HDMAP_VERTICES = [self getVertexData:data];
Beta Was this translation helpful? Give feedback.
All reactions