Graphics
Query and manipulate scene and rendering informations.
A3DGraphAmbientLightDataA3DGraphCameraDataA3DGraphDirectionalLightDataA3DGraphHatchingPatternLineDataA3DGraphicsDataA3DGraphPointLightDataA3DGraphSceneDisplayParametersDataA3DGraphSpotLightDataA3DMiscCascadedAttributesData
The graphics group provides the essential set of tools for describing a rendering scene, such as texturing, lighting or view information. The following entities are presents in this modules, along with their public data and access functions:
A3DGraphDottingPatternDataA3DGraphHatchingPatternDataA3DGraphLinePatternDataA3DGraphMaterialDataA3DGraphPictureDataA3DGraphRgbColorDataA3DGraphSolidPatternDataA3DGraphStyleDataA3DGraphVPicturePatternData
The module also provides a set of indexed data:
Any entity of the given type can be used as an A3DRootBaseWithGraphics.
HOOPS Exchange provides a global container (A3DGlobalData) which references each of these data using indexed lists. Thus, structures such as A3DGraphRgbColorData are obtained using an non-typed numerical index.
Yet, these data act as front-end for internal entities which are still referenced to by handles. The purpose of obtaining the underlying entity of an indexed data depends on the context and is generally an uncommon operation. As an example, the full PBR (Physically-Based Rendering) features is provided as an extension of A3DGraphMaterialData throughout its underlying entity. To retrieve the underlying entity of an indexed data, see A3DMiscPointerFromIndexGet.
Parameters
pGraphics: A handle to the graphics entity to fetch data from.
pData: The
A3DGraphicsDatato fill in.
Returns
A3D_SUCCESSor an error code in case of failure.
Structures
A3DGraphicsDataA3DGraphStyleDataA3DGraphRgbColorDataA3DGraphLinePatternDataA3DGraphMaterialDataA3DGraphPictureDataA3DGraphDottingPatternDataA3DGraphHatchingPatternLineDataA3DGraphHatchingPatternDataA3DGraphSolidPatternDataA3DGraphVPicturePatternDataA3DGraphAmbientLightDataA3DGraphPointLightDataA3DGraphSpotLightDataA3DGraphDirectionalLightDataA3DMiscCascadedAttributesData
Functions
A3DGraphicsGet()A3DGraphicsCreate()A3DGraphicsDelete()A3DGlobalGetGraphStyleData()A3DGlobalInsertGraphStyle()A3DGlobalGetGraphRgbColorData()A3DGlobalInsertGraphRgbColor()A3DGlobalGetGraphLinePatternData()A3DGlobalGetGraphMaterialData()A3DGlobalInsertGraphMaterial()A3DGlobalGetGraphPictureData()A3DGlobalInsertGraphPicture()A3DGlobalGetGraphDottingPatternData()A3DGlobalInsertGraphDottingPattern()A3DGlobalGetGraphHatchingPatternData()A3DGlobalInsertGraphHatchingPattern()A3DGlobalGetGraphSolidPatternData()A3DGlobalInsertGraphSolidPattern()A3DGlobalGetGraphVPicturePatternData()A3DGlobalInsertGraphVPicturePattern()A3DGraphCameraGet()A3DGraphCameraCreate()A3DGraphAmbientLightGet()A3DGraphAmbientLightCreate()A3DGraphPointLightGet()A3DGraphPointLightCreate()A3DGraphSpotLightGet()A3DGraphSpotLightCreate()A3DGraphDirectionalLightGet()A3DGraphDirectionalLightCreate()A3DGraphSceneDisplayParametersGet()A3DGraphSceneDisplayParametersCreate()A3DMiscCascadedAttributesCreate()A3DMiscCascadedAttributesDelete()A3DMiscCascadedAttributesGet()A3DMiscCascadedAttributesPush()A3DMiscPointerFromIndexGet()A3DMiscRootBaseInsertAttribute()