[]
        
(Showing Draft Content)

C1.Util.DX.DXGI.FormatHelper

FormatHelper Class

Helper to use with Format.

Inheritance
FormatHelper
Namespace: C1.Util.DX.DXGI
Assembly: C1.Win.C1DX.4.8.dll
Syntax
public static class FormatHelper

Methods

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.