Quick question about shader code OOP

Started by
-1 comments, last by mrheisenberg 11 years, 2 months ago

Can you use classes with methods in HLSL without actually using dynamic shader linkage?I mean just for the personal convenience and better looking code style.The HLSL compiler would inline all getter/setter methods anyway right?

This topic is closed to new replies.

Advertisement