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

#include <imageformats.h>

Static Public Member Functions

static void readColor (gl::ColorF *dst, const B8G8R8A8 *src)
 
static void readColor (gl::ColorUI *dst, const B8G8R8A8 *src)
 
static void writeColor (B8G8R8A8 *dst, const gl::ColorF *src)
 
static void writeColor (B8G8R8A8 *dst, const gl::ColorUI *src)
 
static void average (B8G8R8A8 *dst, const B8G8R8A8 *src1, const B8G8R8A8 *src2)
 

Public Attributes

uint8_t B
 
uint8_t G
 
uint8_t R
 
uint8_t A
 

Member Function Documentation

◆ average()

void angle::B8G8R8A8::average ( B8G8R8A8 dst,
const B8G8R8A8 src1,
const B8G8R8A8 src2 
)
static

◆ readColor() [1/2]

void angle::B8G8R8A8::readColor ( gl::ColorF dst,
const B8G8R8A8 src 
)
static

◆ readColor() [2/2]

void angle::B8G8R8A8::readColor ( gl::ColorUI dst,
const B8G8R8A8 src 
)
static

◆ writeColor() [1/2]

void angle::B8G8R8A8::writeColor ( B8G8R8A8 dst,
const gl::ColorF src 
)
static

◆ writeColor() [2/2]

void angle::B8G8R8A8::writeColor ( B8G8R8A8 dst,
const gl::ColorUI src 
)
static

Member Data Documentation

◆ A

uint8_t angle::B8G8R8A8::A

◆ B

uint8_t angle::B8G8R8A8::B

◆ G

uint8_t angle::B8G8R8A8::G

◆ R

uint8_t angle::B8G8R8A8::R

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