videomodelist and other stuff

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
biotech
Posts: 37
Joined: Sat Jan 31, 2004 1:46 pm

videomodelist and other stuff

Post by biotech »

i managed to see what number of video modes i have with this line of code
device->getVideoModeList()->getVideoModeCount();

this gives me 18,how can i use that.if i have list box with all resolutions,i know i should have 18,but which ones.

another question
this line gives me OS:
const wchar_t* os=device0->getOSOperator()->getOperationSystemVersion();
and this one current renderer"
const wchar_t* renderer=device0->getVideoDriver()->getName();

but what if i want to obtain the name of the video adapter like trident cyberblade,or geforce mx440?
how can i do this?
ich bin ein berliner
Unarekin
Posts: 60
Joined: Thu Apr 22, 2004 11:02 pm

Post by Unarekin »

From the documentation:
dimension2d<s32 > getVideoModeResolution (s32 modeNumber)
s32 getVideoModeDepth (s32 modeNumber)


Ringin' any bells? :)
Post Reply