# Graphics

Query and manipulate scene and rendering information.

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:

- `A3DGraphAmbientLightData`
- `A3DGraphCameraData`
- `A3DGraphDirectionalLightData`
- `A3DGraphHatchingPatternLineData`
- `A3DGraphicsData`
- `A3DGraphPointLightData`
- `A3DGraphSceneDisplayParametersData`
- `A3DGraphSpotLightData`
- `A3DMiscCascadedAttributesData`

The module also provides a set of indexed data:

- `A3DGraphDottingPatternData`
- `A3DGraphHatchingPatternData`
- `A3DGraphLinePatternData`
- `A3DGraphMaterialData`
- `A3DGraphPictureData`
- `A3DGraphRgbColorData`
- `A3DGraphSolidPatternData`
- `A3DGraphStyleData`
- `A3DGraphVPicturePatternData`

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.

Topics

- Bit Field for Behavior on Graphics
- Display Style
- Textures

Structures

- `A3DGraphicsData`
- `A3DGraphStyleData`
- `A3DGraphRgbColorData`
- `A3DGraphLinePatternData`
- `A3DGraphMaterialData`
- `A3DGraphPictureData`
- `A3DGraphDottingPatternData`
- `A3DGraphHatchingPatternLineData`
- `A3DGraphHatchingPatternData`
- `A3DGraphSolidPatternData`
- `A3DGraphVPicturePatternData`
- `A3DGraphAmbientLightData`
- `A3DGraphPointLightData`
- `A3DGraphSpotLightData`
- `A3DMiscCascadedAttributesData`
- `A3DGraphDirectionalLightData`

Enumerations

- `A3DEPictureDataFormat`

Functions

- `A3DGraphicsGet()`
- `A3DGraphicsCreate()`
- `A3DGraphicsDelete()`
- `A3DGlobalGetGraphStyleData()`
- `A3DGlobalInsertGraphStyle()`
- `A3DGlobalGetGraphRgbColorData()`
- `A3DGlobalInsertGraphRgbColor()`
- `A3DGlobalGetGraphLinePatternData()`
- `A3DGlobalInsertGraphLinePattern()`
- `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()`
- `A3DMiscCascadedAttributesPushTessFace()`
- `A3DMiscCascadedAttributesEntityReferencePush()`
- `A3DMiscPointerFromIndexGet()`
- `A3DMiscRootBaseInsertAttribute()`

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Exchange in your own language, or choose a sample question below to start a conversation:

What is HOOPS Exchange?
What are the latest release notes for HOOPS Exchange?
How do I start evaluating HOOPS Exchange?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...