Describes a shader semantic (name + index). This should match the semantic declared in AZSL.
More...
#include <ShaderSemantic.h>
|
| AZ_TYPE_INFO (ShaderSemantic, "{C6FFF25F-FE52-4D08-8D96-D04C14048816}") |
|
| ShaderSemantic (const Name &name, size_t index=0) |
|
| ShaderSemantic (AZStd::string_view name, size_t index=0) |
|
bool | operator== (const ShaderSemantic &rhs) const |
|
HashValue64 | GetHash (HashValue64 seed=HashValue64{ 0 }) const |
|
AZStd::string | ToString () const |
|
|
static void | Reflect (AZ::ReflectContext *context) |
|
static ShaderSemantic | Parse (AZStd::string_view semantic) |
|
|
Name | m_name |
| Name of the binding.
|
|
uint32_t | m_index = 0 |
| Index of the binding with this semantic.
|
|
|
static constexpr const char | UvStreamSemantic [] = "UV" |
| The prefix keyword to extract UV shader inputs, so that we can stream different UV sets.
|
|
Describes a shader semantic (name + index). This should match the semantic declared in AZSL.
The documentation for this class was generated from the following file:
- Gems/Atom/RHI/Code/Include/Atom/RHI.Reflect/ShaderSemantic.h