A3DGlobalIsMaterialTexture
-
A3DStatus
A3DGlobalIsMaterialTexture(const A3DUns32 uiIndexMaterial, A3DBool *pbIsTexture) -
Determine whether the data at the index uiIndexMaterial in the global array of materials is an
A3DGraphTextureApplicationor anA3DGraphMaterialData.Return Values
A3D_INITIALIZE_NOT_CALLED: if the library has not been initialized via
A3DDllInitializeA3D_INVALID_DATA_STRUCT_NULL: if
pbIsTextureis nullA3D_SUCCESS: returned on success
Parameters
uiIndexMaterial: The index into the global materials array, as sized by
A3DGlobalData::m_uiMaterialsSizepbIsTexture: Set to
A3D_TRUEif the indexed entry is anA3DGraphTextureApplicationor set toA3D_FALSEif it is anA3DGraphMaterialDataReturns
A3D_SUCCESSon success, or an error code on failure