Jump to content
  • Advertisement
Sign in to follow this  
Bratte

decl

This topic is 5089 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

Advertisement
Don't know how much use this will be, but it might be a good lead: a lot of programmers name their VertexDeclarations (don't know what they're called in C++) decl. I seem to recall being told when using HLSL to use a VertexDeclaration, but I don't know what they do and in all the cases I've tried copying and pasting that code to figure it out, it just kept stuff from rendering. I'd look for Vertex Declarations in the docs and see what you can find, though.

Share this post


Link to post
Share on other sites
I googled a bit and found out that "decl{...}" could be used to declare the input registers to the vertexshader. But if it has some advantage over "dcl_", I don't know?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!