[C#] Get available video card memory
40 minutes ago, blackfisch said:Arma 3 has a startup parameter for VRAM and RAM
VRAM there is no way they can do it you need to actually allocate the memory to reserve it. I have done it with few texture before but that mean you have to load dummy textures in memory for X amount of ram and even this is not accurately whatever the amount you expected. Then when you want to use it you need to quickly release and reassign and wish another application did not just stole that place. Very dangerous territory.
It very likely a dummy value. On the other hand the RAM that is true, it's very common on large server application to have dedicated ram.
If you still want to do it i have a small solution for you. you can quite easy is request the video device information then have a database file with model to vram and i am pretty sure someone already have an exhaustive list on the web. you can probably cover 90% of the use case scenario with that.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now