API Reference > OdDb Classes > OdDbMaterial Class > OdDbMaterial Methods > OdDbMaterial::setChannelFlags Method
OdDbMaterial::setChannelFlags Method
Syntax
C++
virtual void setChannelFlags(OdGiMaterialTraits::ChannelFlags channelFlags);
Parameters 
Description 
OdGiMaterialTraits::ChannelFlags channelFlags 
[in] channel flags. 

Sets the channel flags for this material object.

This allows multiple channels to be added to a material and each channel to be enabled or disabled individually.

Copyright © 2002–2021. Open Design Alliance. All rights reserved.