Sign in to follow this  

Quick question about shader code OOP

Recommended Posts

mrheisenberg    362

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?

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