Search Results for

    Show / Hide Table of Contents

    Class ExtensionMethods

    Extension methods.

    Inheritance
    object
    ExtensionMethods
    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.

    In this article
    Back to top
    Generated by DocFX