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

#include <imageformats.h>

Static Public Member Functions

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

Public Attributes

uint32_t R: 10
 
uint32_t G: 10
 
uint32_t B: 10
 
uint32_t A: 2
 

Member Function Documentation

◆ average()

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

◆ readColor() [1/2]

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

◆ readColor() [2/2]

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

◆ writeColor() [1/2]

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

◆ writeColor() [2/2]

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

Member Data Documentation

◆ A

uint32_t angle::R10G10B10A2::A

◆ B

uint32_t angle::R10G10B10A2::B

◆ G

uint32_t angle::R10G10B10A2::G

◆ R

uint32_t angle::R10G10B10A2::R

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