[]
Helper to use with Format.
public static class FormatHelper
Name | Description |
---|---|
ComputeScanlineCount(Format, int) | Computes the scanline count (number of scanlines). |
IsCompressed(Format) | Returns true if the Format is a compressed format. |
IsPacked(Format) | Determines whether the specified Format is packed. |
IsSRgb(Format) | Determines whether the specified Format is a SRGB format. |
IsTypeless(Format) | Determines whether the specified Format is typeless. |
IsValid(Format) | Returns true if the Format is valid. |
IsVideo(Format) | Determines whether the specified Format is video. |
SizeOfInBits(Format) | Calculates the size of a Format in bits. |
SizeOfInBytes(Format) | Calculates the size of a Format in bytes. |