Jump to content
  • Advertisement
Sign in to follow this  

nvidia cg runtime question

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

one more question, it seems its impossible to use
SetVertexShaderConstantB with cg or? if low level d3d fucntions are to be used then only SetVertexShaderConstantF, or am i wrong again?

another issue i am having is using cgD3D9TypeToSize on an int3, this returns 0,
what should i do in this case? if i ignore this and assume that int3 has the size of 3 floats it all works ok, but this is not really nice! what shoudl i do when cgD3D9TypeToSize returns 0 to figure out the size of the type? i need the size in order to use it in SetVertexShaderConstantF.

[Edited by - PinkFish on September 25, 2006 3:16:50 PM]

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!