Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbAbstractViewTableRecord::setRenderMode Method
Syntax
C++
void setRenderMode(OdDb::RenderMode renderMode);

Sets the render mode of this View (DXF 281).

Parameters
Description
renderMode
[in] Render mode.

renderMode must be one of the following: 

 

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