MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/FleX / UpdateDiffuseRenderBuffers

Function UpdateDiffuseRenderBuffers

demo/d3d11/shadersD3D11.cpp:946–953  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

944}
945
946void UpdateDiffuseRenderBuffers(DiffuseRenderBuffers buffers, NvFlexSolver* solver)
947{
948 // diffuse particles
949 if (buffers.mNumDiffuseParticles)
950 {
951 NvFlexGetDiffuseParticles(solver, buffers.mDiffusePositionsBuf, buffers.mDiffuseVelocitiesBuf, buffers.mDiffuseIndicesBuf);
952 }
953}
954
955void UpdateDiffuseRenderBuffers(DiffuseRenderBuffers buffers, Vec4* diffusePositions, Vec4* diffuseVelocities, int* diffuseIndices, int numDiffuseParticles)
956{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected