Sign in to follow this  
fs1

Access Static Variable in Shader

Recommended Posts

Dear All,

 

I did some shader reflection and got all bindable variables in a constant buffer.

 

The static variables were not retrive. How can I access a Static Variable from a constant buffer in the Shader with the DirectX 11 API (from the CPU)? How can I get its pointer/offset?

 

Thanks!

Edited by fs1

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