diff options
| author | Elie Michel <eliemichel@users.noreply.github.com> | 2024-11-25 05:50:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-25 12:50:50 +0800 |
| commit | e30f0537126f611b7cad81404f9d0c19c6b57ddf (patch) | |
| tree | c3d51ac3a3166e337ed3a9956726a3740763d6cb /docs/user-guide/09-reflection.md | |
| parent | dacfa159acf00e25444ce73bbe53252a5983762c (diff) | |
Fix broken link in 09-reflection.md (#5655)
* Fix broken link in 09-reflection.md
* Fix another link on 08-compiling.md
---------
Co-authored-by: Ellie Hermaszewska <ellieh@nvidia.com>
Diffstat (limited to 'docs/user-guide/09-reflection.md')
| -rw-r--r-- | docs/user-guide/09-reflection.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/user-guide/09-reflection.md b/docs/user-guide/09-reflection.md index 0c9311212..ff874fb5f 100644 --- a/docs/user-guide/09-reflection.md +++ b/docs/user-guide/09-reflection.md @@ -13,7 +13,7 @@ The Slang API allows layout to be queried on any program object represented by a slang::ProgramLayout* layout = program->getLayout(); ``` -Please see the [Compiling Code with Slang](/user-guide/compiling) section on creating program objects. +Please see the [Compiling Code with Slang](compiling) section on creating program objects. Note that just as with output code, the reflection object (and all other objects queried from it) is guaranteed to live as long as the request is alive, but no longer. Unlike the other data, there is no easy way to save the reflection data for later user (we do not currently implement serialization for reflection data). @@ -224,4 +224,4 @@ unsigned int attribCount = funcReflection->getUserAttributeCount(); slang::UserAttribute* attrib = funcReflection->getUserAttributeByIndex(0); const char* attribName = attrib->getName(); -```
\ No newline at end of file +``` |
