Sign in to follow this  

Vertexdeclarations

This topic is 4597 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, Is vertexdeclataionens software depended or hardware depended. To clarify, if i got an old GFX card, but DX9 would this support VertexDeclaratons, or only FVF? i mean vertexdeclarations isn't hardware depended rather software depended(which version on DirectX) right? could i create a program that creates a VB with VertexDeclarations and then use it to render(no shader effect or something like that) with an old GFX card? by old GFX card, meaning something like GF4MX....a card thats dosen't support shaders... thanks

Share this post


Link to post
Share on other sites
I think vertex declarations have existed since Vertex Buffers have existed. I don't think you have to worry about it at all these days.

I could easily be wrong though.

ace

Share this post


Link to post
Share on other sites
god you were fast!
that is what i call a fast answer :P...almost under a minut :D
so the VertexDeclarations isn't bounded to shaders in any way?

Share this post


Link to post
Share on other sites
(1) Vertex declarations have existed since D3D9. In D3D8 and below, FVF's (flexible vertex formats) are used exclusively. Vertex decls were added because they allow a lot more control when it comes to informing D3D of your vertex structure. And since shaders are becoming more and more widespread, we need that.

(2) Vertex decls are a software-side thing. Any DX9 app can use them, regardless of the hardware (including GF4MX 420-440).

(3) A vertex declaration informs D3D of your vertex structure and format. It uses this to make sure that the shader input matches your structure. Vertex decls are bound to shaders, because the vertex format must match the input of the vertex shader.

Share this post


Link to post
Share on other sites

This topic is 4597 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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