public virtual void ManualRender( RenderOperation op,
Pass pass,
Viewport vp,
Matrix4 worldMatrix,
Matrix4 viewMatrix,
Matrix4 projMatrix,
bool doBeginEndFrame )
{
// configure all necessary parameters
this.targetRenderSystem.Viewport = vp;
this.targetRenderSystem.WorldMatrix = worldMatrix;
this.targetRenderSystem.ViewMatrix = viewMatrix;
this.targetRenderSystem.ProjectionMatrix = projMatrix;
if ( doBeginEndFrame )
{
this.targetRenderSystem.BeginFrame();
}
// set the pass and render the object
this.SetPass( pass );
this.targetRenderSystem.Render( op );
if ( doBeginEndFrame )
{
this.targetRenderSystem.EndFrame();
}
}