Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FRHICommandListBase
Description
Writes the GPU addresses of the provided resources into a GPU buffer that can be accessed in shaders. Addresses should be queried immediately before use, as certain RHI operations such as lock/update/defragment may move the resources in memory.
| Name | WriteResourceGPUAddresses |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/RHICommandList.h |
| Include Path | #include "RHICommandList.h" |
void WriteResourceGPUAddresses
(
TConstArrayView< FRHIResource * > Resources,
FRHIBuffer * OutputBuffer
)