YARP
Yet Another Robot Platform
yarp::sig::PixelBgra Struct Reference

Packed BGRA pixel type. More...

#include <yarp/sig/Image.h>

Public Member Functions

 PixelBgra ()=default
 
 PixelBgra (unsigned char n_r, unsigned char n_g, unsigned char n_b, unsigned char n_a)
 

Public Attributes

unsigned char b {0}
 
unsigned char g {0}
 
unsigned char r {0}
 
unsigned char a {0}
 

Detailed Description

Packed BGRA pixel type.

Definition at line 499 of file Image.h.

Constructor & Destructor Documentation

◆ PixelBgra() [1/2]

yarp::sig::PixelBgra::PixelBgra ( )
default

◆ PixelBgra() [2/2]

yarp::sig::PixelBgra::PixelBgra ( unsigned char  n_r,
unsigned char  n_g,
unsigned char  n_b,
unsigned char  n_a 
)
inline

Definition at line 507 of file Image.h.

Member Data Documentation

◆ a

unsigned char yarp::sig::PixelBgra::a {0}

Definition at line 504 of file Image.h.

◆ b

unsigned char yarp::sig::PixelBgra::b {0}

Definition at line 501 of file Image.h.

◆ g

unsigned char yarp::sig::PixelBgra::g {0}

Definition at line 502 of file Image.h.

◆ r

unsigned char yarp::sig::PixelBgra::r {0}

Definition at line 503 of file Image.h.


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