Store descriptor type directly in shader resources for shader reflection

This commit is contained in:
baldurk committed 2024-04-10 18:58:51 +01:00
1 parent 292bb596dc
commit f00ab9dee8
8 files changed
+59 -35

No files matched your search

+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;