Tessellation Base

Types

A3DTessBaseData

Functions

A3DStatus

A3DTessBaseGet

A3DStatus

A3DTessBaseSet

A3DStatus

A3DTessBaseSetNoHash

Detailed Description

group a3d_tessellation_base

Functions for setting and getting data common to all tessellation entities.

Entity type is kA3DTypeTessBase.

Function Documentation

A3DStatus A3DTessBaseGet(const A3DTessBase *pTessBase, A3DTessBaseData *pData)

Populates the A3DTessBaseData structure.

Version

2.0

Return values:
  • A3D_INITIALIZE_NOT_CALLED

  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_INVALID_ENTITY_NULL

  • A3D_INVALID_ENTITY_TYPE

  • A3D_SUCCESS

Returns:

A3D_SUCCESS in case of success or an error code

A3DStatus A3DTessBaseSet(A3DTessBase *pTessBase, const A3DTessBaseData *pData)

Function to set the tessellation base from the A3DTessBaseData structure.

Results use a hash table to simplify the final tesselation.

Version

2.0

Return values:
  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_TESSBASE_INCONSISTENT

  • A3D_TESSBASE_POINTS_INCONSISTENT_DATA

  • A3D_TESSBASE_POINTS_BAD_SIZE

  • A3D_SUCCESS

Returns:

A3D_SUCCESS in case of success or an error code

A3DStatus A3DTessBaseSetNoHash(A3DTessBase *pTessBase, const A3DTessBaseData *pData)

Function to set the tessellation base from the A3DTessBaseData structure.

Results do not use a hash table to simplify the final tesselation.

Version

10.2

Return values:
  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_TESSBASE_INCONSISTENT

  • A3D_TESSBASE_POINTS_INCONSISTENT_DATA

  • A3D_TESSBASE_POINTS_BAD_SIZE

  • A3D_SUCCESS

Returns:

A3D_SUCCESS in case of success or an error code