Cache Scene or a Scene Text File?

Started by
2 comments, last by cozzie 10 years, 1 month ago
It's legal to cache big strings of data? eg.:
Shader Text File
Scene Text File
etc...
If I need to cache the objects itself I would have:
map<key, Scene>
I think is good to have just one Scene and a function inside to load it from a stream/source.
Advertisement
Hi.
Not sure if I understand the question, but how would you handle the data of the scene if you load it in one mega string?

Crealysm game & engine development: http://www.crealysm.com

Looking for a passionate, disciplined and structured producer? PM me

Hi.

Now I'm thinking...what a stupid question I did.

We need to cache the scene objects and the generated shader's programs not the code to generate them.

Ok. Good that you solved it :)

Crealysm game & engine development: http://www.crealysm.com

Looking for a passionate, disciplined and structured producer? PM me

This topic is closed to new replies.

Advertisement