Skip to content

Commit

Permalink
Update 09-reflection.md (#5886)
Browse files Browse the repository at this point in the history
  • Loading branch information
csyonghe authored Dec 17, 2024
1 parent d61bba8 commit 7ffc69d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/user-guide/09-reflection.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Our goals in this chapter are to:
* Provide an underlying mental model for how Slang's reflection information represents the structure of a program

We will describe the structure of a program that traverses all of the parameters of a shader program and prints information (including binding locations) for them.
The code shown here is derived from the [`reflection-api`](https://github.com/shader-slang/slang/tree/master/examples/reflection-api) example that is included in the Slang repository.
The code shown here is derived from the [reflection-api](https://github.com/shader-slang/slang/tree/master/examples/reflection-api) example that is included in the Slang repository.
Readers may find it helpful to follow along with that code, to see a more complete picture of what is presented here.

Compiling a Program
Expand Down Expand Up @@ -1630,4 +1630,4 @@ Conclusion
----------

At this point we have provided a comprehensive example of how to robustly traverse the information provided by the Slang reflection API to get a complete picture of the shader parameters of a program, and what target-specific locations they were bound to.
We hope that along the way we have also imparted some key parts of the mental model that exists behind the reflection API and its representations.
We hope that along the way we have also imparted some key parts of the mental model that exists behind the reflection API and its representations.

0 comments on commit 7ffc69d

Please sign in to comment.