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

Method updateCustomPrimitive

Source/Falcor/Scene/Scene.cpp:2648–2657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2646 }
2647
2648 void Scene::updateCustomPrimitive(uint32_t index, const AABB& aabb)
2649 {
2650 FALCOR_CHECK(index < getCustomPrimitiveCount(), "'index' ({}) is out of range.", index);
2651
2652 if (mCustomPrimitiveAABBs[index] != aabb)
2653 {
2654 mCustomPrimitiveAABBs[index] = aabb;
2655 mCustomPrimitivesMoved = true;
2656 }
2657 }
2658
2659 ref<GridVolume> Scene::getGridVolumeByName(const std::string& name) const
2660 {

Callers 2

renderUIMethod · 0.80
moveCustomPrimitiveMethod · 0.80

Calls 1

getCustomPrimitiveCountFunction · 0.85

Tested by 2

renderUIMethod · 0.64
moveCustomPrimitiveMethod · 0.64