Store descriptor type directly in shader resources for shader reflection

This commit is contained in:
baldurk
2024-04-10 18:58:51 +01:00
parent 292bb596dc
commit f00ab9dee8
8 changed files with 59 additions and 35 deletions
+6
View File
@@ -1461,6 +1461,12 @@ struct ShaderResource
DOCUMENT("The :class:`TextureType` that describes the type of this resource.");
TextureType resType;
DOCUMENT(R"(The :class:`DescriptorType` which this resource expects to access.
:type: DescriptorType
)");
DescriptorType descriptorType;
DOCUMENT("The name of this resource.");
rdcstr name;