Sign in to follow this  
BlessmanTsanga

Does direct x only accept "SimpleVertex" ?

Recommended Posts

Does direct x 10 support "[font="Consolas"][size="2"][font="Consolas"][size="2"]SimpleVertex" only? I'm thinking probarbly not but do you if and how it supports vertex arrays like in open GL

e.g. Open GL vertex arrays:

[code]


[font="Consolas"][size="2"][font="Consolas"][size="2"]float
vertArray[] = {[/size][/font][/size][/font]




[font="Consolas"][size="2"][font="Consolas"][size="2"]0.7,0,1.2,
0.64575,-0.27475,1.2,
0.636741,-0.270917,1.23691,
0.636741,-0.270917,1.23691,
0.690234,0,1.23691,
0.7,0,1.2,
0.690234,0,1.23691,[/size][/font][/size][/font]

[/code][/size][/font][/size][/font]

Share this post


Link to post
Share on other sites
i wonder where you got that idea from?
Anyway.. to answer your question.. the opposite is true, DX has been "vertex array" _ONLY_ API for more than 10 years. [img]http://public.gamedev.net/public/style_emoticons/default/rolleyes.gif[/img]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this