Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Data Fields
Image_ColorBGRAF Struct Reference

POD structure for packed float BGRA color value (4 floats)

#include <Image_Color.hxx>

Public Member Functions

Standard_ShortReal r () const
 Alias to 3rd component (red intensity).
Standard_ShortReal g () const
 Alias to 2nd component (green intensity).
Standard_ShortReal b () const
 Alias to 1st component (blue intensity).
Standard_ShortReal a () const
 Alias to 4th component (alpha value).
Standard_ShortRealr ()
 Alias to 3rd component (red intensity).
Standard_ShortRealg ()
 Alias to 2nd component (green intensity).
Standard_ShortRealb ()
 Alias to 1st component (blue intensity).
Standard_ShortReala ()
 Alias to 4th component (alpha value).

Static Public Member Functions

static Standard_Integer Length ()
 Returns the number of components.

Data Fields

Standard_ShortReal v [4]

Member Function Documentation

static Standard_Integer Image_ColorBGRAF::Length ( void  ) [inline, static]

Field Documentation


The documentation for this struct was generated from the following file: