Q3InteractiveRenderer_CountRAVEDrawContexts |
( TQ3Status ) Q3InteractiveRenderer_CountRAVEDrawContexts ( TQ3RendererObject renderer, TQ3Uns32 *numRAVEContexts );
Count the RAVE contexts for the interactive renderer.
Note - this function is deprecated, and is not fully supported in Quesa.
- renderer
- The renderer to query.
- numRAVEContexts
- Receives the number of RAVE contexts.
Q3InteractiveRenderer_GetCSGEquation |
( TQ3Status ) Q3InteractiveRenderer_GetCSGEquation ( TQ3RendererObject renderer, TQ3CSGEquation *equation );
Get the CSG equation from the interactive renderer.
Note - this function is deprecated, and is not fully supported in Quesa.
- renderer
- The renderer to query.
- equation
- Receives the CSG equation.
Q3InteractiveRenderer_GetDoubleBufferBypass |
( TQ3Status ) Q3InteractiveRenderer_GetDoubleBufferBypass ( TQ3RendererObject renderer, TQ3Boolean *bypass );
Get the double-buffer bypass hint from the interactive renderer.
Note - this function is deprecated, and is not fully supported in Quesa.
- renderer
- The renderer to query.
- bypass
- Receives the double-buffer bypass hint.
Q3InteractiveRenderer_GetPreferences |
( TQ3Status ) Q3InteractiveRenderer_GetPreferences ( TQ3RendererObject renderer, TQ3RaveVendorID *vendorID, TQ3RaveEngineID *engineID );
Get the RAVE preferences from the interactive renderer.
Note - this function is deprecated, and is not fully supported in Quesa.
- renderer
- The renderer to query.
- vendorID
- Receives the RAVE vendor ID.
- engineID
- Receives the RAVE engine ID.
Q3InteractiveRenderer_GetRAVEContextHints |
( TQ3Status ) Q3InteractiveRenderer_GetRAVEContextHints ( TQ3RendererObject renderer, TQ3Uns32 *RAVEContextHints );
Get the RAVE context hints from the interactive renderer.
Note - this function is deprecated, and is not fully supported in Quesa.
- renderer
- The renderer to query.
- RAVEContextHints
- Receives the RAVE context hints.
Q3InteractiveRenderer_GetRAVEDrawContexts |
( TQ3Status ) Q3InteractiveRenderer_GetRAVEDrawContexts ( TQ3RendererObject renderer, TQADrawContext **raveDrawContextList, TQAEngine **raveDrawingEnginesList, TQ3Uns32 *numRAVEContexts, TQ3RaveDestroyCallback raveDestroyCallback );
Get the RAVE contexts for the interactive renderer.
Note - this function is deprecated, and is not fully supported in Quesa.
- renderer
- The renderer to query.
- raveDrawContextList
- Receives the RAVE context list.
- raveDrawingEnginesList
- Receives the RAVE engine list.
- numRAVEContexts
- Receives the number of RAVE contexts.
- raveDestroyCallback
- The RAVE destroy callback.
Q3InteractiveRenderer_GetRAVETextureFilter |
( TQ3Status ) Q3InteractiveRenderer_GetRAVETextureFilter ( TQ3RendererObject renderer, TQ3TextureFilter *raveTextureFilterValue );
Get the RAVE texture filter from the interactive renderer.
Although Quesa does not actually use RAVE, the Interactive and OpenGL
renderers do use this filter to choose OpenGL texture filtering settings.
- renderer
- The renderer to query.
- raveTextureFilterValue
- Receives the RAVE texture filter.
Q3InteractiveRenderer_SetCSGEquation |
( TQ3Status ) Q3InteractiveRenderer_SetCSGEquation ( TQ3RendererObject renderer, TQ3CSGEquation equation );
Set the CSG equation for the interactive renderer.
Note - this function is deprecated, and is not fully supported in Quesa.
- renderer
- The renderer to update.
- equation
- The new CSG equation.
Q3InteractiveRenderer_SetDoubleBufferBypass |
( TQ3Status ) Q3InteractiveRenderer_SetDoubleBufferBypass ( TQ3RendererObject renderer, TQ3Boolean bypass );
Set the double-buffer bypass hint for the interactive renderer.
Note - this function is deprecated, and is not fully supported in Quesa.
- renderer
- The renderer to update.
- bypass
- The double-buffer bypass hint.
Q3InteractiveRenderer_SetPreferences |
( TQ3Status ) Q3InteractiveRenderer_SetPreferences ( TQ3RendererObject renderer, TQ3RaveVendorID vendorID, TQ3RaveEngineID engineID );
Set the RAVE preferences for the interactive renderer.
Note - this function is deprecated, and is not fully supported in Quesa.
- renderer
- The renderer to update.
- vendorID
- The new RAVE vendor ID.
- engineID
- The new RAVE engine ID.
Q3InteractiveRenderer_SetRAVEContextHints |
( TQ3Status ) Q3InteractiveRenderer_SetRAVEContextHints ( TQ3RendererObject renderer, TQ3Uns32 RAVEContextHints );
Set the RAVE context hints for the interactive renderer.
Note - this function is deprecated, and is not fully supported in Quesa.
- renderer
- The renderer to update.
- RAVEContextHints
- The RAVE context hints.
Q3InteractiveRenderer_SetRAVETextureFilter |
( TQ3Status ) Q3InteractiveRenderer_SetRAVETextureFilter ( TQ3RendererObject renderer, TQ3TextureFilter raveTextureFilterValue );
Set the RAVE texture filter for the interactive renderer.
Although Quesa does not actually use RAVE, the Interactive and OpenGL
renderers do use this filter to choose OpenGL texture filtering settings.
- renderer
- The renderer to update.
- raveTextureFilterValue
- The RAVE texture filter.
Q3RendererClass_GetNickNameString |
( TQ3Status ) Q3RendererClass_GetNickNameString ( TQ3ObjectType rendererClassType, TQ3ObjectClassNameString rendererClassString );
Get the "nick name" of a renderer class.
The "nick name" is the user-visible name for the renderer, and is
suitable for display in a menu or window.
- rendererClassType
- The class type of the renderer to query.
- rendererClassString
- Receives the nick name of the renderer.
Q3Renderer_GetConfigurationData |
( TQ3Status ) Q3Renderer_GetConfigurationData ( TQ3RendererObject renderer, unsigned char *dataBuffer, TQ3Uns32 bufferSize, TQ3Uns32 *actualDataSize );
Get the configuration data for a renderer.
Configuration data should be saved by the application in a manner appropriate
for the current platform (e.g., the Registry on Windows or a .plist file on
the Mac), tagging it with the renderer's type for later identification.
If dataBuffer is NULL, the size of data required to store the configuration
data will be returned in actualDataSize.
Otherwise bufferSize should be set to the number of bytes pointed to by
dataBuffer, and actualDataSize will receive the number of bytes written to
dataBuffer.
- renderer
- The renderer to query.
- dataBuffer
- Receives the renderer configuration data. May be NULL.
- bufferSize
- The number of bytes pointed to by dataBuffer. May be 0.
- actualDataSize
- Receives the number of bytes required for, or written to, dataBuffer.
Q3Renderer_GetType |
( TQ3ObjectType ) Q3Renderer_GetType ( TQ3RendererObject renderer );
Get the class type of a renderer object.
- renderer
- The renderer to query.
Q3Renderer_HasModalConfigure |
( TQ3Boolean ) Q3Renderer_HasModalConfigure ( TQ3RendererObject renderer );
Does a renderer have a modal configure dialog?
- renderer
- The renderer to query.
Q3Renderer_IsInteractive |
( TQ3Boolean ) Q3Renderer_IsInteractive ( TQ3RendererObject renderer );
Is a renderer "interactive"?
An interactive renderer should be able to render frames at a more or less
interactive rate, allowing the user to manipulate the renderer in real-time.
Typically, renderers using hardware-acceleration would report as interactive
while software-based renderers (e.g., ray-tracers) would not.
- renderer
- The renderer to query.
Q3Renderer_ModalConfigure |
( TQ3Status ) Q3Renderer_ModalConfigure ( TQ3RendererObject renderer, TQ3DialogAnchor dialogAnchor, TQ3Boolean *cancelled );
Invoke a renderer's modal configure dialog.
If the renderer provides a user interface for adjusting its preferences,
a modal configure dialog can be displayed by this function.
The cancel/accept state of the dialog is returned through the cancelled
parameter.
After a configure dialog has been accepted, the current preferences
should be retrieved with Q3Renderer_GetConfigurationData and stored by
the application for later recall.
- theRenderer
- The renderer whose configure dialog is to be displayed.
- dialogAnchor
- Platform-specific dialog data.
- cancelled
- Receives the OK/Cancel state of the dialog.
Q3Renderer_NewFromType |
( TQ3RendererObject ) Q3Renderer_NewFromType ( TQ3ObjectType rendererObjectType );
Instantiate a new renderer by type.
The built-in renderer types include:
Q3ObjectHierarchy_GetSubClassData for the class
kQ3SharedTypeRenderer, and get the human-readable names of the renderer
types using Q3RendererClass_GetNickNameString.
- rendererObjectType
- The class type of the renderer to create.
Q3Renderer_SetConfigurationData |
( TQ3Status ) Q3Renderer_SetConfigurationData ( TQ3RendererObject renderer, unsigned char *dataBuffer, TQ3Uns32 bufferSize );
Set the configuration data for a renderer.
The configuration must have been obtained with a previous call to
Q3Renderer_GetConfigurationData.
- renderer
- The renderer to update.
- dataBuffer
- The configuration data for the renderer.
- bufferSize
- The number of bytes pointed to by dataBuffer.
Q3XDrawContext_ClearValidationFlags |
( TQ3Status ) Q3XDrawContext_ClearValidationFlags ( TQ3DrawContextObject drawContext );
Clear the validation flags for a draw context.
This function should only be called from renderer plug-ins.
- drawContext
- The draw context to update.
Q3XDrawContext_GetValidationFlags |
( TQ3Status ) Q3XDrawContext_GetValidationFlags ( TQ3DrawContextObject drawContext, TQ3XDrawContextValidation *validationFlags );
Get the validation flags for a draw context.
This function should only be called from renderer plug-ins.
- drawContext
- The draw context to query.
- validationFlags
- Receives the validation flags for a draw context.
Q3XView_EndFrame |
( TQ3Status ) Q3XView_EndFrame ( TQ3ViewObject view );
Indicate to a view that a frame has completed.
This function should only be called from asynchronous renderer plug-ins.
- view
- The view to notify.
Q3XView_IdleProgress |
( TQ3Status ) Q3XView_IdleProgress ( TQ3ViewObject view, TQ3Uns32 current, TQ3Uns32 completed );
Update the view's idle state while rendering.
Allows non-interactive renderers to update the view with their progress.
Progress should be passed as:
0% (theView, 0, maxValue);
..% (theView, 1 to maxValue-1, maxValue);
100% (theView, maxValue, maxValue);
Progress will be passed to the application callbacks registered with
Q3View_SetIdleMethod or Q3View_SetIdleProgressMethod.
This function should only be called from renderer plug-ins.
- view
- The view to notify.
- current
- The amount of work performed so far.
- completed
- The total amount of work which will be performed.
© 1999-2008 Quesa Developers (Last Updated 5/10/2008)