CrystalSpace

Public API Reference

CS::PluginCommon::SoftShader::InterpolateEdgePersp Struct Reference

Interpolator for a polygon edge. More...

#include <csplugincommon/softshader/types.h>

List of all members.

Public Member Functions

void Advance (const size_t floatNum)
 Advance a line down.
void Setup (const csVector3 *vertices, const float *floats, const size_t floatNum, size_t sv, size_t fv, int sy)
 Setup interpolator.

Public Attributes

float dIzdy
 Inverse Z per-scanline delta.
float dxdy
 X per-scanline delta.
CS::PluginCommon::SoftShader::InterpolateEdgePersp::PerFloat Floats [maxBuffers *4]
 A single interpolated buffer value.
float Iz
 The inverse Z coordinate.
float x
 X coordinate.

Classes

struct  PerFloat
 A single interpolated buffer value. More...


Detailed Description

Interpolator for a polygon edge.

Definition at line 51 of file types.h.


Member Function Documentation

void CS::PluginCommon::SoftShader::InterpolateEdgePersp::Advance ( const size_t  floatNum  )  [inline]

void CS::PluginCommon::SoftShader::InterpolateEdgePersp::Setup ( const csVector3 vertices,
const float *  floats,
const size_t  floatNum,
size_t  sv,
size_t  fv,
int  sy 
) [inline]


Member Data Documentation

Inverse Z per-scanline delta.

Definition at line 60 of file types.h.

Referenced by Advance(), and Setup().

X per-scanline delta.

Definition at line 56 of file types.h.

Referenced by Advance(), and Setup().

X coordinate.

Definition at line 54 of file types.h.

Referenced by Advance(), and Setup().


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.4.7