Powertek.Rt.PtRtGLSelectionRenderer Class Reference

PtRtGLSelectionRenderer. More...

List of all members.

Public Member Functions

void Clear ()
 PtRtGLSelectionRenderer (PtCamera camera, String shaderPath)
void Resize (int width, int height, int aaSamples)
void RenderGLColorSelectionAA ()
void RenderGLColorSelection ()
void RenderGLShadowSelection (bool enableDiffuseOffsetSampling)
void RenderGLShadowSelectionAA (bool enableDiffuseOffsetSampling)

Public Attributes

Byte[] ColorSelectionPixels = null
Byte[] ShadowSelectionPixels = null

Properties

int Width [get]
int Height [get]


Detailed Description


Constructor & Destructor Documentation

Powertek.Rt.PtRtGLSelectionRenderer.PtRtGLSelectionRenderer ( PtCamera  camera,
String  shaderPath 
)

PtRtGLSelectionRenderer.

Parameters:
camera 
shaderPath 


Member Function Documentation

void Powertek.Rt.PtRtGLSelectionRenderer.Clear (  ) 

Clear.

void Powertek.Rt.PtRtGLSelectionRenderer.RenderGLColorSelection (  ) 

RenderGLColorSelection.

void Powertek.Rt.PtRtGLSelectionRenderer.RenderGLColorSelectionAA (  ) 

RenderGLColorSelectionAA.

void Powertek.Rt.PtRtGLSelectionRenderer.RenderGLShadowSelection ( bool  enableDiffuseOffsetSampling  ) 

RenderGLShadowSelection, we render the shadows black and the rest white so we can say at which point we have to do shadow testing enableDiffuseOffsetSampling will sample around the light source.

Parameters:
enableDiffuseOffsetSampling 

void Powertek.Rt.PtRtGLSelectionRenderer.RenderGLShadowSelectionAA ( bool  enableDiffuseOffsetSampling  ) 

RenderGLShadowSelectionAA.

Parameters:
enableDiffuseOffsetSampling 

void Powertek.Rt.PtRtGLSelectionRenderer.Resize ( int  width,
int  height,
int  aaSamples 
)

Resize.

Parameters:
width 
height 
aaSamples 


Member Data Documentation

ColorSelectionPixels, 4 Bytes per pixel...

ShadowSelectionPixels, 1 Byte per pixel...


Property Documentation

int Powertek.Rt.PtRtGLSelectionRenderer.Height [get]

Height.

int Powertek.Rt.PtRtGLSelectionRenderer.Width [get]

Width.


The documentation for this class was generated from the following file:

Generated on Thu Nov 20 04:45:48 2008 for Powertek.Rt, 1.0.0.60 by  doxygen 1.5.7.1