streepje8
streepje8
CC#
Created by streepje8 on 4/19/2023 in #help
[SOLVED] Storing pointers in an array instead of the objects themselves?
Ill figure something out
42 replies
CC#
Created by streepje8 on 4/19/2023 in #help
[SOLVED] Storing pointers in an array instead of the objects themselves?
That would simplify it by a lot
42 replies
CC#
Created by streepje8 on 4/19/2023 in #help
[SOLVED] Storing pointers in an array instead of the objects themselves?
Now that im looking at it, i dont have to store them all in one variable
42 replies
CC#
Created by streepje8 on 4/19/2023 in #help
[SOLVED] Storing pointers in an array instead of the objects themselves?
This way when i loop over either all the game objects or all the transforms, or the transforms i can have the best cache consistency
42 replies
CC#
Created by streepje8 on 4/19/2023 in #help
[SOLVED] Storing pointers in an array instead of the objects themselves?
(So for example, in this case the green can be the objects that keep track of where the components are, while the orange part are all the transforms and the red part is some other component that needs more memory and the blue one the same as red but with less mem usage)
42 replies
CC#
Created by streepje8 on 4/19/2023 in #help
[SOLVED] Storing pointers in an array instead of the objects themselves?
Since i dont want to reallocate everything when one of them changes
42 replies
CC#
Created by streepje8 on 4/19/2023 in #help
[SOLVED] Storing pointers in an array instead of the objects themselves?
im not sure how it will work with that
42 replies
CC#
Created by streepje8 on 4/19/2023 in #help
[SOLVED] Storing pointers in an array instead of the objects themselves?
Since the lists might resize
42 replies
CC#
Created by streepje8 on 4/19/2023 in #help
[SOLVED] Storing pointers in an array instead of the objects themselves?
im just not sure how to achieve it
42 replies
CC#
Created by streepje8 on 4/19/2023 in #help
[SOLVED] Storing pointers in an array instead of the objects themselves?
42 replies
CC#
Created by streepje8 on 4/19/2023 in #help
[SOLVED] Storing pointers in an array instead of the objects themselves?
Jup, the way im currently looking at it i might need none
42 replies
CC#
Created by streepje8 on 4/19/2023 in #help
[SOLVED] Storing pointers in an array instead of the objects themselves?
I ment putting a dictionary in a list
42 replies
CC#
Created by streepje8 on 4/19/2023 in #help
[SOLVED] Storing pointers in an array instead of the objects themselves?
sorry I worded that wrong
42 replies
CC#
Created by streepje8 on 4/19/2023 in #help
[SOLVED] Storing pointers in an array instead of the objects themselves?
But thanks for thinking with me ^_^
42 replies
CC#
Created by streepje8 on 4/19/2023 in #help
[SOLVED] Storing pointers in an array instead of the objects themselves?
Yea, I think that nesting dictionaries in the array would be the best option
42 replies