CrystalSpace::SoftShader::InterpolateScanlinePersp< maxFloats > Struct Template Reference
Interpolator over a scanline. More...
#include <csplugincommon/softshader/types.h>
Inheritance diagram for CrystalSpace::SoftShader::InterpolateScanlinePersp< maxFloats >:

Public Member Functions | |
void | Advance () |
Advance a pixel right. | |
const ScanlineComp * | GetFloat (size_t i) const |
Return an interpolated component. | |
void | Setup (const InterpolateEdgePersp &L, const InterpolateEdgePersp &R, uint len, int ipolStep, int ipolShift) |
Setup interpolation over a scanline, given left and right edge. | |
Public Attributes | |
ScanlineComp | floats [maxFloats] |
Buffer values. | |
ScanlineCompDivZ | floats_f [maxFloats] |
Buffer values div Z. | |
int | InterpolShift |
Interpolation shift. | |
int | InterpolStep |
Interpolation step. | |
float | invLastSpan |
Inverse of last span size. | |
int | ipx |
Remaining pixels for this interpolation span. | |
int | spans |
Remaining spans. |
Detailed Description
template<int maxFloats>
struct CrystalSpace::SoftShader::InterpolateScanlinePersp< maxFloats >
Interpolator over a scanline.
Definition at line 159 of file types.h.
Member Function Documentation
|
Advance a pixel right.
|
|
Return an interpolated component.
|
|
Setup interpolation over a scanline, given left and right edge.
Definition at line 178 of file types.h. References CrystalSpace::SoftShader::InterpolateEdgePersp::PerFloat::c, CrystalSpace::SoftShader::InterpolateEdgePersp::Floats, CrystalSpace::SoftShader::InterpolateEdgePersp::PerFloat::Ic, and CrystalSpace::SoftShader::InterpolateEdgePersp::Iz. |
Member Data Documentation
|
Buffer values.
|
|
Buffer values div Z.
|
|
Interpolation shift.
|
|
Interpolation step.
|
|
Inverse of last span size.
|
|
Remaining pixels for this interpolation span.
|
|
Remaining spans.
|
The documentation for this struct was generated from the following file:
- csplugincommon/softshader/types.h
Generated for Crystal Space by doxygen 1.4.6