Q3View_SetRendererByType
You can use theQ3View_SetRendererByTypefunction to set the renderer associated with a view by specifying its type.
TQ3Status Q3View_SetRendererByType ( TQ3ViewObject view, TQ3ObjectType type);
view- A view.
type- A renderer type.
DESCRIPTION
TheQ3View_SetRendererByTypefunction attaches the renderer having the type specified by thetypeparameter to the view specified by theviewparameter. The reference count of the specified render is incremented. In addition, if some other renderer was already attached to the specified view, the reference count of that renderer is decremented.