Open Search

    Detailed Description

    Returns the bit depth for the mode.

    Macros

    #define B3D_BITDEPTH(mode)
     
    #define B3D_COLOR_MODE(mode)
     
    #define B3D_SETDEPTH(depth)
     
    #define B3D_IS_CHAR(mode)
     
    #define B3D_IS_UWORD(mode)
     
    #define B3D_IS_FLOAT(mode)
     

    Macro Definition Documentation

    ◆ B3D_BITDEPTH

    #define B3D_BITDEPTH (   mode)

    ◆ B3D_COLOR_MODE

    #define B3D_COLOR_MODE (   mode)

    Returns the COLORMODE for the mode.

    ◆ B3D_SETDEPTH

    #define B3D_SETDEPTH (   depth)

    Sets the depth color mode.

    ◆ B3D_IS_CHAR

    #define B3D_IS_CHAR (   mode)

    Checks if the bit depth mode is BITDEPTH_UCHAR.

    ◆ B3D_IS_UWORD

    #define B3D_IS_UWORD (   mode)

    Checks if the bit depth mode is BITDEPTH_UWORD.

    ◆ B3D_IS_FLOAT

    #define B3D_IS_FLOAT (   mode)

    Checks if the bit depth mode is BITDEPTH_FLOAT.