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

Function GetGraphicsDeviceParameters

tools/cli/NtcCommandLine.cpp:1610–1622  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1608}
1609
1610donut::app::DeviceCreationParameters GetGraphicsDeviceParameters(nvrhi::GraphicsAPI graphicsApi)
1611{
1612 donut::app::DeviceCreationParameters deviceParams;
1613 deviceParams.infoLogSeverity = donut::log::Severity::None;
1614 deviceParams.adapterIndex = g_options.adapterIndex;
1615 deviceParams.enableDebugRuntime = g_options.debug;
1616 deviceParams.enableNvrhiValidationLayer = g_options.debug;
1617 deviceParams.headlessDevice = true;
1618
1619 SetNtcGraphicsDeviceParameters(deviceParams, graphicsApi, true, g_options.enableCoopVec, nullptr);
1620
1621 return deviceParams;
1622}
1623
1624void DescribeTextureSet(ntc::ITextureSetMetadata* textureSet)
1625{

Callers 1

mainFunction · 0.70

Calls 1

Tested by

no test coverage detected