![]() |
Ark Server API (ASA) - Wiki
|
#include "Containers/Array.h"#include "Containers/UnrealString.h"#include "CoreTypes.h"#include "HAL/PreprocessorHelpers.h"#include "Math/MathFwd.h"#include "Math/UnrealMathUtility.h"#include "Misc/AssertionMacros.h"#include "Misc/Crc.h"#include "Misc/Parse.h"#include "Serialization/Archive.h"#include "Serialization/MemoryLayout.h"#include "Serialization/StructuredArchive.h"#include "Serialization/StructuredArchiveNameHelpers.h"#include "Serialization/StructuredArchiveSlots.h"
Include dependency graph for Color.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | FLinearColor |
| struct | FColor |
| struct | TIsPODType< FColor > |
| struct | TIsPODType< FLinearColor > |
| struct | FDXTColor565 |
| struct | FDXTColor16 |
| struct | FDXT1 |
| struct | FDXT5 |
| struct | TIsPODType< FDXT1 > |
| struct | TIsPODType< FDXT5 > |
| struct | TIsPODType< FDXTColor16 > |
| struct | TIsPODType< FDXTColor565 > |
Enumerations | |
| enum class | EGammaSpace : uint8 { Linear , Pow22 , sRGB , Invalid } |
Variables | |
| static const float | OneOver255 = 1.0f / 255.0f |
|
strong |
Enum for the different kinds of gamma spaces we expect to need to convert from/to.
| Enumerator | |
|---|---|
| Linear | No gamma correction is applied to this space, the incoming colors are assumed to already be in linear space. |
| Pow22 | A simplified sRGB gamma correction is applied, pow(1/2.2). |
| sRGB | Use the standard sRGB conversion. |
| Invalid | |
|
extern |
Computes a brightness and a fixed point color from a floating point color.
|
extern |
Convert multiple FLinearColors to sRGB FColor; array version of FLinearColor::ToFColorSRGB.
| DECLARE_INTRINSIC_TYPE_LAYOUT | ( | FColor | ) |
| DECLARE_INTRINSIC_TYPE_LAYOUT | ( | FLinearColor | ) |
| FORCEINLINE FLinearColor operator* | ( | float | Scalar, |
| const FLinearColor & | Color ) |