|
const float * | array () const |
|
float * | array () |
|
const float & | operator[] (int32_t i) const |
|
float & | operator[] (int32_t i) |
|
float | x () const |
|
float | y () const |
|
float | z () const |
|
float | w () const |
|
const fdk::Vec4f & | rgba () const |
|
fdk::Vec4f & | rgba () |
|
const fdk::Vec3f & | rgb () const |
|
fdk::Vec3f & | rgb () |
|
float | r () const |
|
float | g () const |
|
float | b () const |
|
float | a () const |
|
float | opacity () const |
|
void | setToZero () |
| Set all attribs to 0.
|
|
void | lerp (const SlrVertex &b, float t) |
| Destructive linear interpolate between this and SlrVertex b by t.
|
|
void | offset (const SlrVertex &b, const SlrVertex &delta, float t) |
| Sets all attribs to b+delta*t.
|
|
void | scale (float s) |
| Scale all attribs.
|
|
void | offset (const SlrVertex &b, const SlrVertex &dx, float x, const SlrVertex &dy, float y) |
| Sets all attribs to b+dx*x+dy*y.
|
|
void | midpoint (const SlrVertex &a, const SlrVertex &b) |
| Sets all attribs to the midpoint between a and b ((a+b)/2).
|
|
Fixed-size array of floating point numbers that are interpolated across a render primitive. This currently matches legacy ScanlineRender but can be expanded.
An SlrShadingContext contains 3 of these: the current value, and the derivatives horizontally and vertically.