Sign in to follow this  
Followers 0
mrheisenberg

Quick question about shader code OOP

0 posts in this topic

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?

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0