Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FRHITransientAllocationFences > API/Runtime/RHI/FRHITransientAllocationFences/Contains
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHITransientResourceAllocator.h |
| Include | #include "RHITransientResourceAllocator.h" |
static bool Contains
(
const FRHITransientAllocationFences & Discard,
const FRHITransientAllocationFences & Acquire
)
Remarks
Returns whether two regions described by the discard and acquire fences contain each other. If they do, that means the memory would being used by both pipes simultaneously and cannot be aliased.