Frankly speaking I have been learning DirectX since about quite not so long and there are matters which I am not sure. I want it because the question is:
Is a good way to keep saved data also in memory (RAM I suppose) or there is no need to keep data on the memory because You have a possibility to get them from vertex (index) buffer which You used to save data in graphic memory card... I believe that if You don't change very often position of vertices in this part of message loop which is responsible for present the scene, the best way is not to save data twice (on RAM memory and graphic memory card). Nevertheless I would like to get to know is there any way to get back data from vertex (index) buffer like in IDirect3DTexture9 object example from the previous e-mail?
Show differencesHistory of post edits
#1anders211
Posted 16 February 2012 - 04:14 PM
Frankly speaking I have been learning DirectX since about quite not so long and there are matters which I am not sure. I want it because the question is:
Is a good way to keep saved data also in memory (RAM I suppose) or there is no need to keep data on the memory because You have a possibility to get them from vertex (index) buffer which You used to save data in graphic memory card... I believe that if You don't change very often position of vertices in this part of message loop which is responsible for present the scene, the best way is no to save data twice (on RAM memory and graphic memory card). Nevertheless I would like to get to know is there any way to get back data from vertex (index) buffer like in IDirect3DTexture9 object example from the previous e-mail?
Is a good way to keep saved data also in memory (RAM I suppose) or there is no need to keep data on the memory because You have a possibility to get them from vertex (index) buffer which You used to save data in graphic memory card... I believe that if You don't change very often position of vertices in this part of message loop which is responsible for present the scene, the best way is no to save data twice (on RAM memory and graphic memory card). Nevertheless I would like to get to know is there any way to get back data from vertex (index) buffer like in IDirect3DTexture9 object example from the previous e-mail?