CS::PluginCommon::SoftShader::InterpolateScanlinePersp< maxFloats > Struct Template Reference
Interpolator over a scanline. More...
#include <csplugincommon/softshader/types.h>
Inheritance diagram for CS::PluginCommon::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 CS::PluginCommon::SoftShader::InterpolateScanlinePersp< maxFloats >
Interpolator over a scanline.
Definition at line 161 of file types.h.
Member Function Documentation
template<int maxFloats>
| void CS::PluginCommon::SoftShader::InterpolateScanlinePersp< maxFloats >::Advance | ( | ) | [inline] |
template<int maxFloats>
| const ScanlineComp* CS::PluginCommon::SoftShader::InterpolateScanlinePersp< maxFloats >::GetFloat | ( | size_t | i | ) | const [inline] |
template<int maxFloats>
| void CS::PluginCommon::SoftShader::InterpolateScanlinePersp< maxFloats >::Setup | ( | const InterpolateEdgePersp & | L, | |
| const InterpolateEdgePersp & | R, | |||
| uint | len, | |||
| int | ipolStep, | |||
| int | ipolShift | |||
| ) | [inline] |
Member Data Documentation
template<int maxFloats>
| ScanlineComp CS::PluginCommon::SoftShader::InterpolateScanlinePersp< maxFloats >::floats[maxFloats] |
template<int maxFloats>
| ScanlineCompDivZ CS::PluginCommon::SoftShader::InterpolateScanlinePersp< maxFloats >::floats_f[maxFloats] |
template<int maxFloats>
| int CS::PluginCommon::SoftShader::InterpolateScanlinePersp< maxFloats >::InterpolShift |
template<int maxFloats>
| int CS::PluginCommon::SoftShader::InterpolateScanlinePersp< maxFloats >::InterpolStep |
template<int maxFloats>
| float CS::PluginCommon::SoftShader::InterpolateScanlinePersp< maxFloats >::invLastSpan |
template<int maxFloats>
| int CS::PluginCommon::SoftShader::InterpolateScanlinePersp< maxFloats >::ipx |
template<int maxFloats>
| int CS::PluginCommon::SoftShader::InterpolateScanlinePersp< maxFloats >::spans |
The documentation for this struct was generated from the following file:
- csplugincommon/softshader/types.h
Generated for Crystal Space 1.4.0 by doxygen 1.5.8
