CrystalSpace

Public API Reference

CS::PluginCommon::SoftShader::iDefaultScanlineRenderer Struct Reference

Default software scanline renderer. More...

#include <csplugincommon/softshader/scanline.h>

Inheritance diagram for CS::PluginCommon::SoftShader::iDefaultScanlineRenderer:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void SetColorSum (bool enable)=0
 Enable/disable color sum.
virtual void SetFlatColor (const csVector4 &v)=0
 Set the flat color used in lieu a texture when none is given.
virtual void SetShift (int rgbShift, int alphaShift)=0
 Set shift amounts for RGB and Alpha parts of the final pixel color.

Detailed Description

Default software scanline renderer.

Definition at line 114 of file scanline.h.


Member Function Documentation

virtual void CS::PluginCommon::SoftShader::iDefaultScanlineRenderer::SetColorSum ( bool  enable  )  [pure virtual]

Enable/disable color sum.

virtual void CS::PluginCommon::SoftShader::iDefaultScanlineRenderer::SetFlatColor ( const csVector4 v  )  [pure virtual]

Set the flat color used in lieu a texture when none is given.

virtual void CS::PluginCommon::SoftShader::iDefaultScanlineRenderer::SetShift ( int  rgbShift,
int  alphaShift 
) [pure virtual]

Set shift amounts for RGB and Alpha parts of the final pixel color.

Positive shifts left, negative right. 0 means no shift. Can be used to realize a multiplication (with limited factors) of the pixel color components.


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