Navigation
API > API/Runtime > API/Runtime/RHI
| Name | FRHITransientTexture |
| Type | class |
| Header File | /Engine/Source/Runtime/RHI/Public/RHITransientResourceAllocator.h |
| Include Path | #include "RHITransientResourceAllocator.h" |
Syntax
class FRHITransientTexture : public FRHITransientResource
Inheritance Hierarchy
- FRHITransientResource → FRHITransientTexture
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRHITransientTexture
(
const FResourceTask& InResourceTask, |
RHITransientResourceAllocator.h | ||
FRHITransientTexture
(
FRHIResource* InTexture, |
RHITransientResourceAllocator.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FRHITransientTexture() |
RHITransientResourceAllocator.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CreateInfo | const FRHITextureCreateInfo | The create info describing the texture. | RHITransientResourceAllocator.h | |
| ViewCache | FRHITextureViewCache | The persistent view cache containing all views created for this texture. | RHITransientResourceAllocator.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FRHITextureCreateInfo & GetCreateInfo() |
Returns the create info struct used when creating this texture. | RHITransientResourceAllocator.h | |
FRHIShaderResourceView * GetOrCreateSRV
(
FRHICommandListBase& RHICmdList, |
Finds a SRV matching the descriptor in the cache or creates a new one and updates the cache. | RHITransientResourceAllocator.h | |
FRHIUnorderedAccessView * GetOrCreateUAV
(
FRHICommandListBase& RHICmdList, |
Finds a UAV matching the descriptor in the cache or creates a new one and updates the cache. | RHITransientResourceAllocator.h | |
FRHITexture * GetRHI() |
Returns the underlying RHI texture. | RHITransientResourceAllocator.h |