Navigation
API > API/Plugins > API/Plugins/ElectraSamples
Interpretation of delivered pixel data
| Name | EElectraTextureSamplePixelEncoding |
| Type | enum |
| Header File | /Engine/Plugins/Media/ElectraUtil/Source/ElectraSamples/Public/IElectraTextureSampleEncoding.h |
| Include Path | #include "IElectraTextureSampleEncoding.h" |
Syntax
enum EElectraTextureSamplePixelEncoding
{
Native = 0,
RGB,
RGBA,
YCbCr,
YCbCr_Alpha,
YCoCg,
YCoCg_Alpha,
CbY0CrY1,
Y0CbY1Cr,
ARGB_BigEndian,
}
Values
| Name | Remarks |
|---|---|
| Native | Pixel formats native representation. |
| RGB | Interpret as RGB. |
| RGBA | Interpret as RGBA. |
| YCbCr | Interpret as YCbCR. |
| YCbCr_Alpha | Interpret as YCbCR with alpha. |
| YCoCg | Interpret as scaled YCoCg. |
| YCoCg_Alpha | Interpret as scaled YCoCg with trailing BC4 alpha data. |
| CbY0CrY1 | Interpret as CbY0CrY1. |
| Y0CbY1Cr | Interpret as Y0CbY1Cr. |
| ARGB_BigEndian | Interpret as ARGB, big endian. |