Skip to content

Get link-time constants using the reflection API #5664

Answered by jkwak-work
PierreEVEN asked this question in Q&A
Discussion options

You must be logged in to vote

I think you came up with a nice trick to generate the shader permutation.
Unfortunately I don't think you can get the names of those variables because they are not "shader parameters" that can be bound at runtime.

I like to suggest you to file an issue with a smallest repro code as examples; probably you can just copy and paste from this discussion.
Then, we will be able to schedule for the work with respect to the priorities for other milestone goals.

I also like to encourage you to implement it for us and push to the repo. It will be highly appreciated by the team.

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@PierreEVEN
Comment options

@jkwak-work
Comment options

@PierreEVEN
Comment options

@jkwak-work
Comment options

Answer selected by PierreEVEN
@PierreEVEN
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants