MCPcopy Create free account
hub / github.com/NVIDIA-RTX/RTXNTC / AdaptiveSearchResult

Class AdaptiveSearchResult

tools/cli/NtcCommandLine.cpp:1383–1389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1381 float psnr = 0.f;
1382};
1383
1384bool CompressTextureSetWithTargetPSNR(ntc::IContext* context, ntc::ITextureSet* textureSet)
1385{
1386 ntc::Status ntcStatus;
1387
1388 ntc::AdaptiveCompressionSessionWrapper session(context);
1389 ntcStatus = context->CreateAdaptiveCompressionSession(session.ptr());
1390 CHECK_NTC_RESULT("CreateAdaptiveCompressionSession")
1391
1392 float const targetPsnr = g_options.targetPsnr;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected