MCPcopy Create free account
hub / github.com/baldurk/renderdoc / MakeDescriptor

Function MakeDescriptor

qrenderdoc/Windows/TextureViewer.cpp:90–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90static Descriptor MakeDescriptor(ResourceId res, Subresource sub = Subresource())
91{
92 Descriptor ret;
93 ret.type = DescriptorType::ReadWriteImage;
94 ret.resource = res;
95 ret.firstMip = sub.mip;
96 ret.firstSlice = sub.slice;
97 return ret;
98}
99
100static UsedDescriptor MakeUsedDescriptor(ShaderStage stage, ResourceId res,
101 Subresource sub = Subresource())

Callers 2

MakeUsedDescriptorFunction · 0.85
GetOutputTargetsMethod · 0.85

Calls 1

SubresourceClass · 0.85

Tested by

no test coverage detected