Navigation
API > API/Runtime > API/Runtime/RHI
To customize the RHIReadSurfaceData() output
| Name | FReadSurfaceDataFlags |
| Type | class |
| Header File | /Engine/Source/Runtime/RHI/Public/RHITypes.h |
| Include Path | #include "RHITypes.h" |
Syntax
class FReadSurfaceDataFlags
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FReadSurfaceDataFlags
(
ERangeCompressionMode InCompressionMode, |
RHITypes.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ArrayIndex | int32 | RHITypes.h | ||
| bLinearToGamma | bool | RHITypes.h | ||
| bOutputStencil | bool | RHITypes.h | ||
| CompressionMode | ERangeCompressionMode | RHITypes.h | ||
| CubeFace | ECubeFace | RHITypes.h | ||
| GPUIndex | uint32 | RHITypes.h | ||
| MaxDepthRange | float | RHITypes.h | ||
| MipLevel | uint8 | RHITypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float ComputeNormalizedDepth
(
float DeviceZ |
RHITypes.h | ||
int32 GetArrayIndex() |
RHITypes.h | ||
ERangeCompressionMode GetCompressionMode() |
RHITypes.h | ||
ECubeFace GetCubeFace() |
RHITypes.h | ||
uint32 GetGPUIndex() |
RHITypes.h | ||
bool GetLinearToGamma() |
RHITypes.h | ||
uint8 GetMip() |
RHITypes.h | ||
bool GetOutputStencil() |
RHITypes.h | ||
void SetArrayIndex
(
int32 InArrayIndex |
RHITypes.h | ||
void SetCubeFace
(
ECubeFace InCubeFace |
RHITypes.h | ||
void SetGPUIndex
(
uint32 InGPUIndex |
RHITypes.h | ||
void SetLinearToGamma
(
bool Value |
RHITypes.h | ||
void SetMaxDepthRange
(
float Value |
RHITypes.h | ||
void SetMip
(
uint8 InMipLevel |
RHITypes.h | ||
void SetOutputStencil
(
bool Value |
RHITypes.h |