A render target.
更多...
#include <UnrealClient.h>
|
| virtual ENGINE_API float | GetDisplayGamma () const |
| |
|
virtual ENGINE_API FRHIGPUMask | GetGPUMask (FRHICommandListImmediate &RHICmdList) const |
| | Returns the GPU nodes on which to render this rendertarget.
|
| |
| virtual ENGINE_API const FTexture2DRHIRef & | GetRenderTargetTexture () const |
| | Accessor for the surface RHI when setting this render target 更多...
|
| |
|
virtual bool | HasToggleFreezeCommand () |
| | Returns if there is a command to toggle freezerendering
|
| |
|
virtual void | ProcessToggleFreezeCommand () |
| | Handles freezing/unfreezing of rendering
|
| |
| ENGINE_API bool | ReadFloat16Pixels (TArray< FFloat16Color > &OutputBuffer, ECubeFace CubeFace=CubeFace_PosX) |
| | Reads the viewport's displayed pixels into the given color buffer. 更多...
|
| |
| ENGINE_API bool | ReadLinearColorPixels (TArray< FLinearColor > &OutputBuffer, FReadSurfaceDataFlags InFlags=FReadSurfaceDataFlags(RCM_MinMax, CubeFace_MAX), FIntRect InRect=FIntRect(0, 0, 0, 0)) |
| | Reads the viewport's displayed pixels into the given color buffer. 更多...
|
| |
| ENGINE_API bool | ReadPixels (TArray< FColor > &OutImageData, FReadSurfaceDataFlags InFlags=FReadSurfaceDataFlags(RCM_UNorm, CubeFace_MAX), FIntRect InRect=FIntRect(0, 0, 0, 0)) |
| | Reads the viewport's displayed pixels into a preallocated color buffer. 更多...
|
| |
| ENGINE_API bool | ReadPixelsPtr (FColor *OutImageBytes, FReadSurfaceDataFlags InFlags=FReadSurfaceDataFlags(RCM_UNorm, CubeFace_MAX), FIntRect InSrcRect=FIntRect(0, 0, 0, 0)) |
| | Reads the viewport's displayed pixels into a preallocated color buffer. 更多...
|
| |
◆ GetDisplayGamma()
| virtual ENGINE_API float FRenderTarget::GetDisplayGamma |
( |
| ) |
const |
|
virtual |
◆ GetRenderTargetTexture()
| virtual ENGINE_API const FTexture2DRHIRef & FRenderTarget::GetRenderTargetTexture |
( |
| ) |
const |
|
virtual |
Accessor for the surface RHI when setting this render target
- 返回
- render target surface RHI resource
被 FSceneViewport 重载.
◆ ReadFloat16Pixels() [1/2]
| bool FRenderTarget::ReadFloat16Pixels |
( |
FFloat16Color * |
OutImageBytes, |
|
|
ECubeFace |
CubeFace = CubeFace_PosX |
|
) |
| |
|
protected |
Reads the viewport's displayed pixels into a preallocated color buffer.
- 参数
-
| OutImageBytes | - RGBA16F values will be stored in this buffer. Buffer must be preallocated with the correct size! |
| CubeFace | - optional cube face for when reading from a cube render target |
- 返回
- True if the read succeeded.
◆ ReadFloat16Pixels() [2/2]
| ENGINE_API bool FRenderTarget::ReadFloat16Pixels |
( |
TArray< FFloat16Color > & |
OutputBuffer, |
|
|
ECubeFace |
CubeFace = CubeFace_PosX |
|
) |
| |
Reads the viewport's displayed pixels into the given color buffer.
- 参数
-
| OutputBuffer | - RGBA16F values will be stored in this buffer |
| CubeFace | - optional cube face for when reading from a cube render target |
- 返回
- True if the read succeeded.
◆ ReadLinearColorPixels()
Reads the viewport's displayed pixels into the given color buffer.
- 参数
-
| OutputBuffer | - Linear color array to store the value |
| CubeFace | - optional cube face for when reading from a cube render target |
- 返回
- True if the read succeeded.
◆ ReadPixels()
Reads the viewport's displayed pixels into a preallocated color buffer.
- 参数
-
| OutImageData | - RGBA8 values will be stored in this buffer |
| InRect | - source rect of the image to capture |
- 返回
- True if the read succeeded.
◆ ReadPixelsPtr()
Reads the viewport's displayed pixels into a preallocated color buffer.
- 参数
-
| OutImageBytes | - RGBA8 values will be stored in this buffer. Buffer must be preallocated with the correct size! |
| InSrcRect | InSrcRect not specified means the whole rect |
- 返回
- True if the read succeeded.
该类的文档由以下文件生成: