Navigation
API > API/Runtime > API/Runtime/RHI
Encapsulates a GPU read/write texture 2D with its UAV and SRV.
| Name | FTextureRWBuffer |
| Type | struct |
| Header File | /Engine/Source/Runtime/RHI/Public/RHIUtilities.h |
| Include Path | #include "RHIUtilities.h" |
Syntax
struct FTextureRWBuffer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTextureRWBuffer() |
RHIUtilities.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FTextureRWBuffer() |
RHIUtilities.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DefaultTextureInitFlag | ETextureCreateFlags | RHIUtilities.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Buffer | FTextureRHIRef | RHIUtilities.h | ||
| NumBytes | uint32 | RHIUtilities.h | ||
| SRV | FShaderResourceViewRHIRef | RHIUtilities.h | ||
| UAV | FUnorderedAccessViewRHIRef | RHIUtilities.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Initialize2D
(
const TCHAR* InDebugName, |
RHIUtilities.h | ||
void Initialize2D
(
FRHICommandListBase& RHICmdList, |
RHIUtilities.h | ||
void Initialize3D
(
const TCHAR* InDebugName, |
RHIUtilities.h | ||
void Initialize3D
(
FRHICommandListBase& RHICmdList, |
RHIUtilities.h | ||
void Release() |
RHIUtilities.h |