API Reference > Structs, Records, Enums > OdOpenGLMaterialData Structure
OdOpenGLMaterialData Structure
Syntax
C++
struct OdOpenGLMaterialData { GLfloat m_paAmbient[4]; GLfloat m_paDiffuse[4]; GLfloat m_paSpecular[4]; GLfloat m_fSpecularPower; GLfloat m_paEmission[4]; bool m_bUseDiffuseMat; bool m_bUseAmbientMat; bool m_bUseSpecularMat; GLenum m_nUseChannel; double m_fOpacityPercentage; double m_fDiffuseBlendFactor; OdGiMapper::Tiling m_uTiling, m_vTiling; };

GsOpenGLVectorizer.h

Members 
Description 
double m_fDiffuseBlendFactor; 
0 - no diffuse map, 1 - opaqe diffuse map 

Structure contains cached material data. 

 

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