• Advertisement
Sign in to follow this  

decl

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

I found the keyword "decl" in an effect-file, but I can't find out what it means?

Share this post


Link to post
Share on other sites
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