Navigation
API > API/Runtime > API/Runtime/RHI
Inheritance Hierarchy
- FRHITransientResource
- FRHITransientBuffer
- FRHITransientTexture
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHITransientResourceAllocator.h |
| Include | #include "RHITransientResourceAllocator.h" |
Syntax
class FRHITransientResource
Constructors
| Type | Name | Description | |
|---|---|---|---|
FRHITransientResource
(
const FResourceTask& InResourceTask, |
|||
FRHITransientResource
(
FRHIResource* InResource, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Internal Allocator API. | ||
| void | AddAliasingOverlap
(
FRHITransientResource* InBeforeResource, |
||
| void | Discard () |
||
| void | Finish
(
FRHICommandListBase& RHICmdList |
||
| uint32 | Returns the number of times Acquire has been called. | ||
| uint64 | Returns the last allocator cycle this resource was acquired. | ||
| uint32 | Returns the pass index which may end acquiring this resource. | ||
| TConstArrayView< FRHITransientAliasingOverlap > | Returns the list of aliasing overlaps used when transitioning the resource. | ||
| ERHITransientAllocationType | |||
| uint32 | Returns the pass index which discarded this resource. | ||
| uint64 | Returns the gpu virtual address of the transient resource. | ||
| uint64 | GetHash () |
Returns the hash used to uniquely identify this resource if cached. | |
| const FRHITransientHeapAllocation & | |||
| FRHITransientHeapAllocation & | |||
| const TCHAR * | GetName () |
Returns the name assigned to the transient resource at allocation time. | |
| const FRHITransientPageAllocation & | |||
| FRHITransientPageAllocation & | |||
| ERHITransientResourceType | |||
| FRHIResource * | GetRHI () |
Returns the underlying RHI resource. | |
| uint64 | GetSize () |
Returns the required size in bytes of the resource. | |
| bool | Returns whether a resource has a pending task. | ||
| bool | IsAcquired () |
Returns whether this resource is still in an acquired state. | |
| bool | IsBuffer () |
||
| bool | IsDiscarded () |
||
| bool | |||
| bool | |||
| bool | IsTexture () |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FResourceTaskResult |
Typedefs
| Name | Description |
|---|---|
| FResourceTask |
Constants
| Name | Description |
|---|---|
| kInvalidPassIndex |