API Reference > Functions > saveCurrentEntityMaterial Function
saveCurrentEntityMaterial Function
Syntax
C++
OD_TOOLKIT_EXPORT void saveCurrentEntityMaterial(OdPrcExportContext & context, const PDF2PRCExportParams & params, const OdGiDrawable * pDrawable);

PrcExportColor.h

Parameters 
Description 
OdPrcExportContext & context 
[out] A placeholder for the context object where the material object should be saved.  
const PDF2PRCExportParams & params 
[in] A set of export parameters where the material object for saving is allocated.  
const OdGiDrawable * pDrawable 
[in] A raw pointer to a drawable entity. 

Saves the current material to a specified export context object.

The function saves the material object in the passed context object and returns it to a calling subroutine.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.