CrystalSpace

Public API Reference

CS::PluginCommon::SoftShader::iScanlineRenderer Struct Reference

Software renderer scanline renderer. More...

#include <csplugincommon/softshader/scanline.h>

Inheritance diagram for CS::PluginCommon::SoftShader::iScanlineRenderer:

Inheritance graph
[legend]
List of all members.

Public Types

typedef void(*) ScanlineProc (iScanlineRenderer *_This, InterpolateEdgePersp &L, InterpolateEdgePersp &R, int ipolStep, int ipolShift, uint32 *dest, uint len, uint32 *zbuff)
 Scanline rendering function.

Public Member Functions

virtual bool SetupMesh (TexturesMask availableTextures, BuffersMask availableBuffers, const csRenderMeshModes &modes, bool needColors, RenderInfoMesh &renderInfoMesh)=0
 Return an appropriate scanline function based on the provided parameters (and further more, user options).
virtual bool SetupTriangle (SoftwareTexture **textures, const RenderInfoMesh &renderInfoMesh, RenderInfoTriangle &renderInfoTri)=0
 Return an appropriate scanline function based on the provided parameters (and further more, user options).

Classes

struct  RenderInfoMesh
 Information for setting up rendering a mesh, filled by the scanline renderer. More...
struct  RenderInfoTriangle
 Information for setting up rendering a triangle, filled by the scanline renderer. More...

Detailed Description

Software renderer scanline renderer.

Definition at line 44 of file scanline.h.


Member Typedef Documentation

Scanline rendering function.

Parameters:
_This The scanline renderer that provided the function.
L Interpolator for the left edge
R Interpolator for the right edge
ipolStep Interpolation step for approximated perspective- correct interpolation.
ipolShift Interpolation shift for approximated perspective- correct interpolation.
dest Start of pixels to write.
len Number of pixels to write.
zbuff Pointer into Z buffer.

Definition at line 62 of file scanline.h.


Member Function Documentation

virtual bool CS::PluginCommon::SoftShader::iScanlineRenderer::SetupMesh ( TexturesMask  availableTextures,
BuffersMask  availableBuffers,
const csRenderMeshModes modes,
bool  needColors,
RenderInfoMesh renderInfoMesh 
) [pure virtual]

Return an appropriate scanline function based on the provided parameters (and further more, user options).

virtual bool CS::PluginCommon::SoftShader::iScanlineRenderer::SetupTriangle ( SoftwareTexture **  textures,
const RenderInfoMesh renderInfoMesh,
RenderInfoTriangle renderInfoTri 
) [pure virtual]

Return an appropriate scanline function based on the provided parameters (and further more, user options).


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