8 using StorageType = plUInt8;
15 XYZWFloat = RGBAFloat,
27 BGRAUByteNormalizedsRGB,
43 RGB10A2UIntNormalized,
47 RGBAUByteNormalizedsRGB,
101 Default = RGBAUByteNormalizedsRGB
108 static plUInt32 GetBitsPerElement(plGALResourceFormat::Enum format);
111 static plUInt8 GetChannelCount(plGALResourceFormat::Enum format);
117 static bool IsDepthFormat(plGALResourceFormat::Enum format);
118 static bool IsStencilFormat(plGALResourceFormat::Enum format);
120 static bool IsSrgb(plGALResourceFormat::Enum format);
123 static bool IsIntegerFormat(plGALResourceFormat::Enum format);
126 static bool IsSignedFormat(plGALResourceFormat::Enum format);
129 static const plUInt8 s_BitsPerElement[plGALResourceFormat::ENUM_COUNT];
131 static const plUInt8 s_ChannelCount[plGALResourceFormat::ENUM_COUNT];
154 NativeFormatType m_eStorage;
155 NativeFormatType m_eRenderTarget;
156 NativeFormatType m_eDepthOnlyType;
157 NativeFormatType m_eStencilOnlyType;
158 NativeFormatType m_eDepthStencilType;
159 NativeFormatType m_eVertexAttributeType;
160 NativeFormatType m_eResourceViewType;