Navigation
API > API/Runtime > API/Runtime/RHICore
Tracks allocation statistics for buffer or texture resources.
| Name | FRHITransientResourceStats |
| Type | struct |
| Header File | /Engine/Source/Runtime/RHICore/Public/RHICoreTransientResourceAllocator.h |
| Include Path | #include "RHICoreTransientResourceAllocator.h" |
Syntax
struct FRHITransientResourceStats
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRHITransientResourceStats() |
RHICoreTransientResourceAllocator.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AllocatedSize | uint64 | The number of bytes allocated from the transient allocator this cycle. | RHICoreTransientResourceAllocator.h | |
| AllocationCount | uint32 | The number of allocations made from the transient allocator this cycle. | RHICoreTransientResourceAllocator.h | |
| CreateCount | uint32 | The number of resource creations made from the transient allocator this cycle. | RHICoreTransientResourceAllocator.h | |
| DeallocationCount | uint32 | The number of deallocations made from the transient allocator this cycle. | RHICoreTransientResourceAllocator.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Add
(
const FRHITransientResourceStats& Other |
RHICoreTransientResourceAllocator.h | ||
void Allocate
(
uint64 Size |
RHICoreTransientResourceAllocator.h | ||
void Deallocate
(
uint64 Size |
RHICoreTransientResourceAllocator.h |