MCPcopy Create free account
hub / github.com/NVIDIA-RTX/Donut / UpdateMaterial

Method UpdateMaterial

src/engine/Scene.cpp:1176–1179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1174
1175void Scene::WriteInstanceBuffer(nvrhi::ICommandList* commandList) const
1176{
1177 commandList->writeBuffer(m_InstanceBuffer, m_Resources->instanceData.data(),
1178 m_Resources->instanceData.size() * sizeof(InstanceData));
1179}
1180
1181void Scene::UpdateMaterial(const std::shared_ptr<Material>& material)
1182{

Callers

nothing calls this directly

Calls 1

FillConstantBufferMethod · 0.80

Tested by

no test coverage detected