# HPixelRGB

## Functions

| `HPixelRGB`
| `HPixelRGB`
unsigned char | `r`
unsigned char | `g`
unsigned char | `b`
void | `r`
void | `g`
void | `b`
void | `Set`
void | `Setf`

## Detailed Description

class `HPixelRGB`

  The HPixelRGB class is the data type of a rgb pixel.

  Subclassed by HPixelRGBA

  Public Functions

  inline `HPixelRGB`(unsigned char R = 0, unsigned char G = 0, unsigned char B = 0)
  inline `HPixelRGB`(HPixelRGB const &p)
  inline unsigned char `r`() const
  inline unsigned char `g`() const
  inline unsigned char `b`() const
  inline void `r`(unsigned char const R)
  inline void `g`(unsigned char const G)
  inline void `b`(unsigned char const B)
  inline void `Set`(unsigned char R, unsigned char G, unsigned char B)

    Sets the red, green and blue values.

  inline void `Setf`(float R, float G, float B)

    Sets a pixel value taking floats (between 0.0 - 1.0) for rgb.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Visualize 3DF or choose a sample question below to start a conversation:

What is HOOPS Visualize 3DF?
What are the latest release notes for HOOPS Visualize 3DF?
How do I start evaluating HOOPS Visualize 3DF?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...