MCPcopy Create free account
hub / github.com/NVIDIA-RTX/RTXPT / JsonLoadStringVector

Function JsonLoadStringVector

Rtxpt/SampleCommon/SampleCommon.cpp:761–771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

759
760
761std::vector<std::string> JsonLoadStringVector(const Json::Value& arr)
762{
763 std::vector<std::string> result;
764 if (arr.isArray()) {
765 result.reserve(arr.size());
766 for (const auto& v : arr) {
767 result.push_back(v.asString());
768 }
769 }
770 return result;
771}
772
773uint64_t GetEstimatedTextureSize(const nvrhi::TextureDesc& desc)
774{

Callers 1

LoadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected