Navigation
API > API/Runtime > API/Runtime/RHI
Inheritance Hierarchy
- FRHITransientResource
- FRHITransientTexture
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHITransientResourceAllocator.h |
| Include | #include "RHITransientResourceAllocator.h" |
Syntax
class FRHITransientTexture : public FRHITransientResource
Variables
| Type | Name | Description | |
|---|---|---|---|
| const FRHITextureCreateInfo | CreateInfo | The create info describing the texture. | |
| FRHITextureViewCache | ViewCache | The persistent view cache containing all views created for this texture. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FRHITransientTexture
(
FRHITexture* InTexture, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FRHITextureCreateInfo & | Returns the create info struct used when creating this texture. | ||
| FRHIShaderResourceView * | GetOrCreateSRV
(
FRHICommandListBase& RHICmdList, |
Finds a SRV matching the descriptor in the cache or creates a new one and updates the cache. | |
| FRHIUnorderedAccessView * | GetOrCreateUAV
(
FRHICommandListBase& RHICmdList, |
Finds a UAV matching the descriptor in the cache or creates a new one and updates the cache. | |
| FRHITexture * | GetRHI () |
Returns the underlying RHI texture. |
Overridden from FRHITransientResource
| Type | Name | Description | |
|---|---|---|---|
| void | Acquire
(
const TCHAR* InName, |
Internal Allocator API. |