Skip to main content
GameDev.net gamedev.net
🔒 Locked

GPU Generation

Started by VprMatrix89 Mar 27, 2009 at 6:08 PM 0 replies 550+ views
Original Post
VprMatrix89
VprMatrix89
I'm confused as to how exactly this is done. I'm reading a book that quotes "Parameters are always passed by value" in HLSL. Does that mean you cannot generate anything in shaders? If so, what do ppl mean by "GPU Generation"?
FeverGames
FeverGames
i have no idea what they mean by the sentence but the cup of tea is that you can pass parameters to HLSL which contain a value. Inside the HLSL code you can create new variables that alter the incomming values or create new once. These you can use for your "output".

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.