Close
Relief for ODA Team in Ukraine
Learn more
ODA Drawings SDK
API Reference
>
OdDb Classes
>
OdDbViewport Class
>
OdDbViewport Methods
>
OdDbViewport::setRenderMode Method
OdDbViewport::setRenderMode Method
Syntax
C++
void
setRenderMode
(OdDb::RenderMode
renderMode
);
Description
Set the render mode of this Viewport object (DXF 281).
Parameters
Parameters
Description
renderMode
[in] Render mode.
Remarks
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.
Links
OdDbViewport Class
Was this documentation helpful?
We are sorry. Please tell us what we can improve.
*
Great! Please provide additional feedback.
(Optional)
Thank you for your feedback!
Please wait...
Something went wrong!