Nevron Open Vision Documentation
Nevron.Nov.GraphicsGL Namespace / NGLColorFormat Structure / Implicit Type Conversion Operator
The bits per pixel to convert.


In This Topic
    Implicit Type Conversion Operator (NGLColorFormat)
    In This Topic
    Converts the specified bpp into a new ColorFormat.
    Syntax
    'Declaration
     
    
    Public Operator Widening CType( _
       ByVal bpp As System.Integer _
    ) As NGLColorFormat
    'Usage
     
    
    public NGLColorFormat operator implicit( 
       System.int bpp
    )

    Parameters

    bpp
    The bits per pixel to convert.

    Return Value

    A ColorFormat with the specified bits per pixel.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also