mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-07 07:11:06 +00:00
Store descriptor type directly in shader resources for shader reflection
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user