Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FDynamicRHI
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void RHIReadSurfaceData
(
FRHITexture* Texture, |
FlushType: Flush Immediate (seems wrong) | DynamicRHI.h | |
virtual void RHIReadSurfaceData
(
FRHITexture* Texture, |
Default fallback; will not work for non-8-bit surfaces and it's extremely slow. | DynamicRHI.h |
RHIReadSurfaceData(FRHITexture *, FIntRect, TArray< FColor > &, FReadSurfaceDataFlags)
Description
Reads the contents of a texture to an output buffer (non MSAA and MSAA) and returns it as a FColor array. If the format or texture type is unsupported the OutData array will be size 0
| Name | RHIReadSurfaceData |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/DynamicRHI.h |
| Include Path | #include "DynamicRHI.h" |
void RHIReadSurfaceData
(
FRHITexture * Texture,
FIntRect Rect,
TArray< FColor > & OutData,
FReadSurfaceDataFlags InFlags
)
RHIReadSurfaceData(FRHITexture *, FIntRect, TArray< FLinearColor > &, FReadSurfaceDataFlags)
Description
Default fallback; will not work for non-8-bit surfaces and it's extremely slow.
| Name | RHIReadSurfaceData |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/DynamicRHI.h |
| Include Path | #include "DynamicRHI.h" |
| Source | /Engine/Source/Runtime/RHI/Private/DynamicRHI.cpp |
virtual void RHIReadSurfaceData
(
FRHITexture * Texture,
FIntRect Rect,
TArray< FLinearColor > & OutData,
FReadSurfaceDataFlags InFlags
)