Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/UnifiedBuffer.h |
Include |
#include "UnifiedBuffer.h" |
Source |
/Engine/Source/Runtime/RenderCore/Private/UnifiedBuffer.cpp |
template<typename ResourceType>
void MemsetResource
(
FRHICommandList & RHICmdList,
const ResourceType & DstBuffer,
uint32 Value,
uint32 NumBytes,
uint32 DstOffset
)
Can store arbitrary data so long as it follows alignment restrictions. Intended mostly for read only data uploaded from CPU. Allows sparse allocations and updates from CPU. Float4 versions exist for platforms that don't yet support byte address buffers.