Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FGPUSkinCache > API/Runtime/Engine/FGPUSkinCache/FRWBufferTracker
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/GPUSkinCache.h |
| Include | #include "GPUSkinCache.h" |
void UpdatePreviousBoneBuffer
(
const FVertexBufferAndSRV & PreviousBoneBuffer,
uint32 PreviousRevision
)
Remarks
On recreate of the render state where the GPU skin cache entry is preserved, the bone buffer will have been reallocated, even though the transforms didn't change. We need to force the Find() call above to treat the data as up-to-date, which can be accomplished by updating the BoneBuffer pointer for the previous Revision, so it matches again.