MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / getRaytracingMaxAttributeSize

Method getRaytracingMaxAttributeSize

Source/Falcor/Scene/Scene.cpp:404–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402 }
403
404 uint32_t Scene::getRaytracingMaxAttributeSize() const
405 {
406 bool hasDisplacedMesh = hasGeometryType(Scene::GeometryType::DisplacedTriangleMesh);
407 if (hasDisplacedMesh) return 12;
408
409
410 return 8;
411 }
412
413 void Scene::raytrace(RenderContext* pRenderContext, Program* pProgram, const ref<RtProgramVars>& pVars, uint3 dispatchDims)
414 {

Callers 5

TracePassMethod · 0.80
TracePassMethod · 0.80
setSceneMethod · 0.80
executeRaytraceMethod · 0.80
executeRaytraceMethod · 0.80

Calls 1

hasGeometryTypeFunction · 0.85

Tested by

no test coverage detected