Navigation
API > API/Runtime > API/Runtime/Engine
A render target.
| Name | FRenderTarget |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/UnrealClient.h |
| Include Path | #include "UnrealClient.h" |
Syntax
class FRenderTarget
Derived Classes
FRenderTarget derived class hierarchy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRenderTarget() |
Default constructor | UnrealClient.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FRenderTarget() |
Destructor | UnrealClient.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EDisplayColorGamut GetDisplayColorGamut() |
UnrealClient.h | ||
virtual float GetDisplayGamma() |
UnrealClient.h | ||
virtual EDisplayOutputFormat GetDisplayOutputFormat() |
UnrealClient.h | ||
virtual FRHIGPUMask GetGPUMask
(
FRHICommandListImmediate& RHICmdList |
Returns the GPU nodes on which to render this render target. | UnrealClient.h | |
virtual FRDGTextureRef GetRenderTargetTexture
(
FRDGBuilder& GraphBuilder |
Returns a valid RDG texture for this render target. | UnrealClient.h | |
virtual const FTextureRHIRef & GetRenderTargetTexture () |
Accessor for the surface RHI when setting this render target | UnrealClient.h | |
virtual FUnorderedAccessViewRHIRef GetRenderTargetUAV() |
UnrealClient.h | ||
virtual bool GetSceneHDREnabled() |
UnrealClient.h | ||
virtual const FTextureRHIRef & GetShaderResourceTexture() |
Accessor for the surface RHI to use when reading the reading target (may differ from GetRenderTargetTexture() for some implementations like cubemaps) | UnrealClient.h | |
FIntPoint GetSizeXY() |
Properties. | UnrealClient.h | |
virtual bool HasToggleFreezeCommand() |
Returns if there is a command to toggle freezerendering | UnrealClient.h | |
virtual void ProcessToggleFreezeCommand() |
Handles freezing/unfreezing of rendering | UnrealClient.h | |
bool ReadFloat16Pixels
(
TArray< FFloat16Color >& OutImageData, |
Reads the render target's displayed pixels into the given color buffer. | UnrealClient.h | |
virtual bool ReadFloat16Pixels
(
TArray< FFloat16Color >& OutImageData, |
Reads the render target's displayed pixels into the given color buffer. | UnrealClient.h | |
virtual bool ReadLinearColorPixels
(
TArray< FLinearColor >& OutImageData, |
Reads the render target's displayed pixels into the given color buffer. | UnrealClient.h | |
bool ReadLinearColorPixelsPtr
(
FLinearColor* OutImageBytes, |
Reads the render target's displayed pixels into the given color buffer. | UnrealClient.h | |
virtual bool ReadPixels
(
TArray< FColor >& OutImageData, |
Reads the render target's displayed pixels into a preallocated color buffer. | UnrealClient.h | |
bool ReadPixelsPtr
(
FColor* OutImageBytes, |
Reads the render target's displayed pixels into a preallocated color buffer. | UnrealClient.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static float GetEngineDisplayGamma() |
Return global Engine default gamma (GetDisplayGamma returns this if not overriden) | UnrealClient.h |