Navigation
API > API/Runtime > API/Runtime/RHI
Limited to 8 types in FReadSurfaceDataFlags RCM_UNorm is the default RCM_MinMax means "leave the values alone" and is recommended as what you should use RCM_SNorm and RCM_MinMaxNorm seem to be unsupported
| Name | ERangeCompressionMode |
| Type | enum |
| Header File | /Engine/Source/Runtime/RHI/Public/RHIDefinitions.h |
| Include Path | #include "RHIDefinitions.h" |
Syntax
enum ERangeCompressionMode
{
RCM_UNorm,
RCM_SNorm,
RCM_MinMaxNorm,
RCM_MinMax,
}
Values
| Name | Remarks |
|---|---|
| RCM_UNorm | 0 .. 1 |
| RCM_SNorm | -1 .. 1 |
| RCM_MinMaxNorm | 0 .. 1 unless there are smaller values than 0 or bigger values than 1, then the range is extended to the minimum or the maximum of the values |
| RCM_MinMax | Minimum .. maximum (each channel independent) |