Graphics

Query and manipulate scene and rendering informations.

  • A3DGraphAmbientLightData
  • A3DGraphCameraData
  • A3DGraphDirectionalLightData
  • A3DGraphHatchingPatternLineData
  • A3DGraphicsData
  • A3DGraphPointLightData
  • A3DGraphSceneDisplayParametersData
  • A3DGraphSpotLightData
  • A3DMiscCascadedAttributesData

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:

  • A3DGraphDottingPatternData
  • A3DGraphHatchingPatternData
  • A3DGraphLinePatternData
  • A3DGraphMaterialData
  • A3DGraphPictureData
  • A3DGraphRgbColorData
  • A3DGraphSolidPatternData
  • A3DGraphStyleData
  • A3DGraphVPicturePatternData

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 A3DGraphicsData to fill in.

Returns

A3D_SUCCESS or an error code in case of failure.

Structures

Functions