webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
angle::GLColor Struct Reference

#include <ANGLETest.h>

Public Member Functions

 GLColor ()
 
 GLColor (GLubyte r, GLubyte g, GLubyte b, GLubyte a)
 
 GLColor (const Vector4 &floatColor)
 
 GLColor (GLuint colorValue)
 
Vector4 toNormalizedVector () const
 

Public Attributes

GLubyte R
 
GLubyte G
 
GLubyte B
 
GLubyte A
 

Static Public Attributes

static const GLColor black = GLColor(0u, 0u, 0u, 255u)
 
static const GLColor blue = GLColor(0u, 0u, 255u, 255u)
 
static const GLColor cyan = GLColor(0u, 255u, 255u, 255u)
 
static const GLColor green = GLColor(0u, 255u, 0u, 255u)
 
static const GLColor red = GLColor(255u, 0u, 0u, 255u)
 
static const GLColor transparentBlack = GLColor(0u, 0u, 0u, 0u)
 
static const GLColor white = GLColor(255u, 255u, 255u, 255u)
 
static const GLColor yellow = GLColor(255u, 255u, 0, 255u)
 

Constructor & Destructor Documentation

◆ GLColor() [1/4]

angle::GLColor::GLColor ( )

◆ GLColor() [2/4]

angle::GLColor::GLColor ( GLubyte  r,
GLubyte  g,
GLubyte  b,
GLubyte  a 
)

◆ GLColor() [3/4]

angle::GLColor::GLColor ( const Vector4 floatColor)

◆ GLColor() [4/4]

angle::GLColor::GLColor ( GLuint  colorValue)

Member Function Documentation

◆ toNormalizedVector()

Vector4 angle::GLColor::toNormalizedVector ( ) const

Member Data Documentation

◆ A

GLubyte angle::GLColor::A

◆ B

GLubyte angle::GLColor::B

◆ black

const GLColor angle::GLColor::black = GLColor(0u, 0u, 0u, 255u)
static

◆ blue

const GLColor angle::GLColor::blue = GLColor(0u, 0u, 255u, 255u)
static

◆ cyan

const GLColor angle::GLColor::cyan = GLColor(0u, 255u, 255u, 255u)
static

◆ G

GLubyte angle::GLColor::G

◆ green

const GLColor angle::GLColor::green = GLColor(0u, 255u, 0u, 255u)
static

◆ R

GLubyte angle::GLColor::R

◆ red

const GLColor angle::GLColor::red = GLColor(255u, 0u, 0u, 255u)
static

◆ transparentBlack

const GLColor angle::GLColor::transparentBlack = GLColor(0u, 0u, 0u, 0u)
static

◆ white

const GLColor angle::GLColor::white = GLColor(255u, 255u, 255u, 255u)
static

◆ yellow

const GLColor angle::GLColor::yellow = GLColor(255u, 255u, 0, 255u)
static

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