nvidia cg runtime question

Started by
13 comments, last by PinkFish 17 years, 6 months ago
Have you tried cgSetParameter3f?
Advertisement
just did with cgSetParameter3fv, also doesnt work.
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]
shy bump ...
anybody?

This topic is closed to new replies.

Advertisement