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

#include <imageformats.h>

Static Public Member Functions

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

Public Attributes

int8_t R
 
int8_t G
 
int8_t B
 
int8_t A
 

Member Function Documentation

◆ average()

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

◆ readColor() [1/2]

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

◆ readColor() [2/2]

void angle::R8G8B8A8S::readColor ( gl::ColorI dst,
const R8G8B8A8S src 
)
static

◆ writeColor() [1/2]

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

◆ writeColor() [2/2]

void angle::R8G8B8A8S::writeColor ( R8G8B8A8S dst,
const gl::ColorI src 
)
static

Member Data Documentation

◆ A

int8_t angle::R8G8B8A8S::A

◆ B

int8_t angle::R8G8B8A8S::B

◆ G

int8_t angle::R8G8B8A8S::G

◆ R

int8_t angle::R8G8B8A8S::R

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