Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbMentalRayRenderSettings::setSampling Method
Syntax
C++
OdResult setSampling(int min, int max);

Controls the minimum and maximum sampling rates when rendering a pixel for this MentalRayRenderSettings object.

Parameters
Description
min
[in] Minimum sampling rate. [-3 .. 5]
max
[in] Maximum sampling rate. [-3 .. 5]

Returns eOk if successful, or an appropriate error code if not. 

 

  • Negative values enable subsampling.
  • -3 specifies one sample per 64 pixels
  • 5 specfies one sample per 1028 pixels
  • The default value of min == -1
  • The default value of max == 0
  • Min <= Max
Copyright © 2002-2022. Open Design Alliance All rights reserved.