vivek vyas
07-24-2009, 11:15 PM
please reply to this
i am reading nVidia's Cg
i learned many thing but a line in that i can't understand
void AnyFun(float4 color :COLOR,float4 pos: POSITION) :COLOR{
/*defination*/}
the part is
POSITION) :COLOR
asfter ) the :COLOR what give meaning in function
is it affect POSITION binding semantics
this is really doubtful thing i stucked in that
but all are just ok
thanks for just readng the post and thinking on questions
thanks in advance
i am reading nVidia's Cg
i learned many thing but a line in that i can't understand
void AnyFun(float4 color :COLOR,float4 pos: POSITION) :COLOR{
/*defination*/}
the part is
POSITION) :COLOR
asfter ) the :COLOR what give meaning in function
is it affect POSITION binding semantics
this is really doubtful thing i stucked in that
but all are just ok
thanks for just readng the post and thinking on questions
thanks in advance