Navigation
API > API/Runtime > API/Runtime/RHI
Represents a change in physical memory allocation for a resource that was created with TexCreate/BUF_ReservedResource flag. Physical memory is allocated in tiles/pages and mapped to the tail of the currently committed region of the resource. This API may be used to grow or shrink reserved resources without moving the bulk of the data or re-creating SRVs/UAVs. The contents of the newly committed region of the resource is undefined and must be overwritten by the application before use. Reserved resources must be created with maximum expected size, which will not cost any memory until committed. Commit size must be smaller or equal to the maximum resource size specified at creation. Check GRHIGlobals.ReservedResources.Supported before using this API or TexCreate/BUF_ReservedResource flag.
| Name | FRHICommitResourceInfo |
| Type | struct |
| Header File | /Engine/Source/Runtime/RHI/Public/RHITransition.h |
| Include Path | #include "RHITransition.h" |
Syntax
struct FRHICommitResourceInfo
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRHICommitResourceInfo
(
uint64 InSizeInBytes |
RHITransition.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SizeInBytes | uint64 | RHITransition.h |