Class ExtensionMethods
Extension methods.
Namespace: Evergine.Common.Graphics
Assembly: Evergine.Common.dll
Syntax
public static class ExtensionMethods
Methods
GetSizeInBits(PixelFormat)
Gets format size in bits.
Declaration
public static uint GetSizeInBits(this PixelFormat format)
Parameters
Type | Name | Description |
---|---|---|
PixelFormat | format | Pixel format. |
Returns
Type | Description |
---|---|
uint | Size in bits. |
IsGammaColorSpaceFormat(PixelFormat)
Indicates if this format is in Gamma Color Space.
Declaration
public static bool IsGammaColorSpaceFormat(this PixelFormat format)
Parameters
Type | Name | Description |
---|---|---|
PixelFormat | format | Pixel format. |
Returns
Type | Description |
---|---|
bool | Indicates if it is in gamma space. |