webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
rx::VertexDataConverter< InT, WidenRule, Converter, DefaultValueRule > Struct Template Reference

#include <vertexconversion.h>

Public Types

typedef Converter::OutputType OutputType
 
typedef InT InputType
 

Static Public Member Functions

static void convertArray (const uint8_t *input, size_t stride, size_t n, uint8_t *output)
 

Static Public Attributes

static const bool identity = (WidenRule::initialWidth == WidenRule::finalWidth) && Converter::identity
 
static const std::size_t finalSize = WidenRule::finalWidth * sizeof(OutputType)
 

Member Typedef Documentation

◆ InputType

template<class InT, class WidenRule, class Converter, class DefaultValueRule = SimpleDefaultValues<InT>>
typedef InT rx::VertexDataConverter< InT, WidenRule, Converter, DefaultValueRule >::InputType

◆ OutputType

template<class InT, class WidenRule, class Converter, class DefaultValueRule = SimpleDefaultValues<InT>>
typedef Converter::OutputType rx::VertexDataConverter< InT, WidenRule, Converter, DefaultValueRule >::OutputType

Member Function Documentation

◆ convertArray()

template<class InT, class WidenRule, class Converter, class DefaultValueRule = SimpleDefaultValues<InT>>
static void rx::VertexDataConverter< InT, WidenRule, Converter, DefaultValueRule >::convertArray ( const uint8_t input,
size_t  stride,
size_t  n,
uint8_t output 
)
inlinestatic

Member Data Documentation

◆ finalSize

template<class InT, class WidenRule, class Converter, class DefaultValueRule = SimpleDefaultValues<InT>>
const std::size_t rx::VertexDataConverter< InT, WidenRule, Converter, DefaultValueRule >::finalSize = WidenRule::finalWidth * sizeof(OutputType)
static

◆ identity

template<class InT, class WidenRule, class Converter, class DefaultValueRule = SimpleDefaultValues<InT>>
const bool rx::VertexDataConverter< InT, WidenRule, Converter, DefaultValueRule >::identity = (WidenRule::initialWidth == WidenRule::finalWidth) && Converter::identity
static

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