API Reference > Other Classes > OdAbstractViewPE Class > OdAbstractViewPE Methods > OdAbstractViewPE::renderMode Method
OdAbstractViewPE::renderMode Method
Syntax
C++
virtual OdDb::RenderMode renderMode(const OdRxObject* pViewport) const = 0;
Parameters 
Description 
const OdRxObject* pViewport 
[in] Pointer to the Viewport object. 

Returns the render mode for the specified Viewport object.

renderMode() returns one of the following: 

 

Name 
Value 
Description 
kBoundingBox 
-1 
Bounding box. For internal use only. 
k2DOptimized 
Standard display. Optimized for 2D. 
kWireframe 
Standard display. Uses 3D pipeline. 
kHiddenLine 
Wireframe display. Hidden lines removed. 
kFlatShaded 
Faceted display. One color per face. 
kGouraudShaded 
Smooth shaded display. Colors interpolated between vertices. 
kFlatShadedWithWireframe 
Faceted display with wireframe overlay. 
kGouraudShadedWithWireframe 
Smooth shaded display with wireframe overlay. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.