CFx SDK Documentation  2022 SP0
GiEnvironment.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 #ifndef _GIENVIRONMENT_H_INCLUDED_
25 #define _GIENVIRONMENT_H_INCLUDED_
26 
27 #include "Gi.h"
28 #include "GiMaterial.h"
29 
30 class OdGiSkyParameters;
31 
38 {
39 public:
41 
42  virtual void setEnable(bool bEnable) = 0;
43  virtual bool enable() const = 0;
44  virtual void setIsBackground(bool bEnable) = 0;
45  virtual bool isBackground() const = 0;
46  virtual void setFogColor(const OdCmEntityColor& color) = 0;
47  virtual OdCmEntityColor fogColor() const = 0;
48  virtual void setNearDistance(double nearDist) = 0;
49  virtual double nearDistance() const = 0;
50  virtual void setFarDistance(double farDist) = 0;
51  virtual double farDistance() const = 0;
52  virtual void setNearPercentage(double nearPct) = 0;
53  virtual double nearPercentage() const = 0;
54  virtual void setFarPercentage(double farPct) = 0;
55  virtual double farPercentage() const = 0;
56  virtual void setEnvironmentMap(const OdGiMaterialTexture* m) = 0;
57  virtual OdGiMaterialTexture* environmentMap() const = 0;
58 };
59 
64 
65 
72 {
73 public:
75 
76  virtual void setMaterialEnabled(bool enabled) = 0;
77  virtual bool materialEnabled() const = 0;
78  virtual void setTextureSampling(bool enabled) = 0;
79  virtual bool textureSampling() const = 0;
80  virtual void setBackFacesEnabled(bool enabled) = 0;
81  virtual bool backFacesEnabled() const = 0;
82  virtual void setShadowsEnabled(bool enabled) = 0;
83  virtual bool shadowsEnabled() const = 0;
84  virtual void setDiagnosticBackgroundEnabled(bool enabled) = 0;
85  virtual bool diagnosticBackgroundEnabled() const = 0;
86  virtual void setModelScaleFactor(double scaleFactor) = 0;
87  virtual double modelScaleFactor() const = 0;
88 };
89 
94 
95 
96 typedef enum
97 {
98  krBox = 0,
100  krGauss = 2,
102  krLanczos = 4
103 }
105 
106 typedef enum
107 {
108  krSimple = 0,
109  krSorted = 1,
110  krSegments = 2
111 }
113 
114 typedef enum
115 {
116  krOff = 0,
117  krGrid = 1,
118  krPhoton = 2,
120  krBSP = 4
121 }
123 
124 typedef enum
125 {
126  krObject = 0,
127  krWorld = 1,
128  krCamera = 2
129 }
131 
132 typedef enum
133 {
135  krIrradiance = 1
136 }
138 
139 typedef enum
140 {
141  krDepth = 0,
142  krSize = 1
143 }
145 
146 typedef enum
147 {
149  krSpiral = 1,
153  krBottomToTop = 5
154 }
156 
157 typedef enum
158 {
160  krLogarithmic = 1
161 }
163 
164 typedef enum
165 {
169 }
171 
172 typedef enum
173 {
176  krExportMIOnly = 2
177 }
179 
186 {
187 public:
189 
190  virtual void setSampling(int min, int max) = 0;
191  virtual void sampling(int& min, int& max) const = 0;
192 
193  virtual void setSamplingFilter(OdGiMrFilter filter, double width, double height) = 0;
194  virtual void SamplingFilter(OdGiMrFilter& filter, double& width, double& height) const = 0;
195 
196  virtual void setSamplingContrastColor(float r, float g, float b, float a) = 0;
197  virtual void samplingContrastColor(float& r, float& g, float& b, float& a) const = 0;
198 
199  virtual void setShadowMode(OdGiMrShadowMode mode) = 0;
200  virtual OdGiMrShadowMode shadowMode() const = 0;
201 
202  virtual void setShadowMapEnabled(bool enabled) = 0;
203  virtual bool shadowMapEnabled() const = 0;
204 
205  virtual void setRayTraceEnabled(bool enabled) = 0;
206  virtual bool rayTraceEnabled() const = 0;
207 
208  virtual void setRayTraceDepth(int reflection, int refraction, int sum) = 0;
209  virtual void rayTraceDepth(int& reflection, int& refraction, int& sum) const = 0;
210 
211  virtual void setGlobalIlluminationEnabled(bool enabled) = 0;
212  virtual bool globalIlluminationEnabled() const = 0;
213 
214  virtual void setGISampleCount(int num) = 0;
215  virtual int giSampleCount() const = 0;
216 
217  virtual void setGISampleRadiusEnabled(bool enabled) = 0;
218  virtual bool giSampleRadiusEnabled() const = 0;
219 
220  virtual void setGISampleRadius(double radius) = 0;
221  virtual double giSampleRadius() const = 0;
222 
223  virtual void setGIPhotonsPerLight(int num) = 0;
224  virtual int giPhotonsPerLight() const = 0;
225 
226  virtual void setPhotonTraceDepth(int reflection, int refraction, int sum) = 0;
227  virtual void photonTraceDepth(int& reflection, int& refraction, int& sum) const = 0;
228 
229  virtual void setFinalGatheringEnabled(bool enabled) = 0;
230  virtual bool finalGatheringEnabled() const = 0;
231 
232  virtual void setFGRayCount(int num) = 0;
233  virtual int fgRayCount() const = 0;
234 
235  virtual void setFGRadiusState(bool bMin, bool bMax, bool bPixels) = 0;
236  virtual void fgSampleRadiusState(bool& bMin, bool& bMax, bool& bPixels) = 0;
237 
238  virtual void setFGSampleRadius(double min, double max) = 0;
239  virtual void fgSampleRadius(double& min, double& max) const = 0;
240 
241  virtual void setLightLuminanceScale(double luminance) = 0;
242  virtual double lightLuminanceScale() const = 0;
243 
244  virtual void setDiagnosticMode(OdGiMrDiagnosticMode mode) = 0;
246 
247  virtual void setDiagnosticGridMode(OdGiMrDiagnosticGridMode mode, float fSize) = 0;
248  virtual void diagnosticGridMode(OdGiMrDiagnosticGridMode& mode, float& fSize) const = 0;
249 
252 
255 
256  virtual void setExportMIEnabled(bool enabled) = 0;
257  virtual bool exportMIEnabled() const = 0;
258 
259  virtual void setExportMIFileName(const OdString& miName) = 0;
260  virtual OdString exportMIFileName() const = 0;
261 
262  virtual void setTileSize(int size) = 0;
263  virtual int tileSize() const = 0;
264 
265  virtual void setTileOrder(OdGiMrTileOrder order) = 0;
266  virtual OdGiMrTileOrder tileOrder() const = 0;
267 
268  virtual void setMemoryLimit(int limit) = 0;
269  virtual int memoryLimit() const = 0;
270 
271  virtual void setEnergyMultiplier(float fScale) = 0;
272  virtual float energyMultiplier() const = 0;
273 
274  virtual void setProgressMonitor(void* pMonitor) = 0;
275  virtual const void* progressMonitor() const = 0;
276 
278  virtual OdGiMrExposureType exposureType() const = 0;
279 
282 
283  virtual void setShadowSamplingMultiplier(double multiplier) = 0;
284  virtual double shadowSamplingMultiplier() const = 0;
285 
286  virtual void setExportMIMode(OdGiMrExportMIMode mode) = 0;
287  virtual OdGiMrExportMIMode exportMIMode() const = 0;
288 };
289 
294 
295 
296 typedef enum
297 {
300 }
302 
303 typedef enum
304 {
306  krEBasic = 1,
307  krEAdvanced = 2
308 }
310 
311 typedef enum
312 {
313  krEBox = 0,
317  krEMitchell = 4
318 }
320 
327 {
328 public:
330 
331  virtual void setQuitCondition(OdGiQuitCondition condition) = 0;
332  virtual OdGiQuitCondition quitCondition() const = 0;
333 
334  virtual void setDesiredRenderLevel(int level) = 0;
335  virtual int desiredRenderLevel() const = 0;
336 
337  virtual void setDesiredRenderTime(int time) = 0;
338  virtual int desiredRenderTime() const = 0;
339 
340  virtual void setLightingMode(OdGiLightingMode mode) = 0;
341  virtual OdGiLightingMode lightingMode() const = 0;
342 
343  virtual void setFilterType(OdGiFilterType type) = 0;
344  virtual OdGiFilterType filterType() const = 0;
345 
346  virtual void setFilterWidth(float width) = 0;
347  virtual float filterWidth() const = 0;
348 
349  virtual void setFilterHeight(float height) = 0;
350  virtual float filterHeight() const = 0;
351 };
352 
357 
358 
365 {
366 public:
368 
369  virtual void setColorSolid(const OdCmEntityColor& color) = 0;
370  virtual OdCmEntityColor colorSolid() const = 0;
371 };
372 
377 
378 
385 {
386 public:
388 
389  virtual void setColorTop(const OdCmEntityColor& color) = 0;
390  virtual OdCmEntityColor colorTop() const = 0;
391 
392  virtual void setColorMiddle(const OdCmEntityColor& color) = 0;
393  virtual OdCmEntityColor colorMiddle() const = 0;
394 
395  virtual void setColorBottom(const OdCmEntityColor& color) = 0;
396  virtual OdCmEntityColor colorBottom() const = 0;
397 
398  virtual void setHorizon(double horizon) = 0;
399  virtual double horizon() const = 0;
400 
401  virtual void setHeight(double height) = 0;
402  virtual double height() const = 0;
403 
404  virtual void setRotation(double rotation) = 0;
405  virtual double rotation() const = 0;
406 };
407 
412 
413 
420 {
421 public:
423 
424  virtual void setImageFilename(const OdString& filename) = 0;
425  virtual const OdString& imageFilename() const = 0;
426 
427  virtual void setFitToScreen(bool bFitToScreen) = 0;
428  virtual bool fitToScreen() const = 0;
429 
430  virtual void setMaintainAspectRatio(bool bMaintainAspectRatio) = 0;
431  virtual bool maintainAspectRatio() const = 0;
432 
433  virtual void setUseTiling(bool bUseTiling) = 0;
434  virtual bool useTiling() const = 0;
435 
436  virtual void setXOffset(double xOffset) = 0;
437  virtual double xOffset() const = 0;
438 
439  virtual void setYOffset(double yOffset) = 0;
440  virtual double yOffset() const = 0;
441 
442  virtual void setXScale(double xScale) = 0;
443  virtual double xScale() const = 0;
444 
445  virtual void setYScale(double yScale) = 0;
446  virtual double yScale() const = 0;
447 };
448 
453 
454 
461 {
462 public:
464 
465  virtual void setColorSkyZenith(const OdCmEntityColor& color) = 0;
466  virtual OdCmEntityColor colorSkyZenith() const = 0;
467 
468  virtual void setColorSkyHorizon(const OdCmEntityColor& color) = 0;
469  virtual OdCmEntityColor colorSkyHorizon() const = 0;
470 
471  virtual void setColorUndergroundHorizon(const OdCmEntityColor& color) = 0;
473 
474  virtual void setColorUndergroundAzimuth(const OdCmEntityColor& color) = 0;
476 
477  virtual void setColorGroundPlaneNear(const OdCmEntityColor& color) = 0;
479 
480  virtual void setColorGroundPlaneFar(const OdCmEntityColor& color) = 0;
482 };
483 
488 
489 
497 {
498 public:
500 
501  virtual void setSkyParameters(const OdGiSkyParameters& params) = 0;
502  virtual void skyParameters(OdGiSkyParameters& params) const = 0;
503 };
504 
509 
510 
518 {
519 public:
521 
522  virtual void setEnable(bool bEnable) = 0;
523  virtual bool enable() const = 0;
524 
525  virtual void setIBLImageName(const OdString& filename) = 0;
526  virtual const OdString& IBLImageName() const = 0;
527 
528  virtual void setRotation(double rotation) = 0;
529  virtual double rotation() const = 0;
530 
531  virtual void setDisplayImage(bool bDisplay) = 0;
532  virtual bool displayImage() const = 0;
533 
534  virtual void setSecondaryBackground(OdDbStub* bgId) = 0;
535  virtual OdDbStub* secondaryBackground() const = 0;
536 };
537 
542 
543 #endif // _GIENVIRONMENT_H_INCLUDED_
OdSmartPtr< OdGiRapidRTRenderSettingsTraits > OdGiRapidRTRenderSettingsTraitsPtr
OdGiMrDiagnosticMode
@ krOff
@ krGrid
@ krSamples
@ krBSP
@ krPhoton
OdSmartPtr< OdGiGroundPlaneBackgroundTraits > OdGiGroundPlaneBackgroundTraitsPtr
OdSmartPtr< OdGiRenderSettingsTraits > OdGiRenderSettingsTraitsPtr
Definition: GiEnvironment.h:93
OdGiQuitCondition
@ krEQuitByRenderTime
@ krEQuitByRenderLevel
OdSmartPtr< OdGiImageBackgroundTraits > OdGiImageBackgroundTraitsPtr
OdSmartPtr< OdGiIBLBackgroundTraits > OdGiIBLBackgroundTraitsPtr
OdSmartPtr< OdGiSkyBackgroundTraits > OdGiSkyBackgroundTraitsPtr
OdGiMrDiagnosticPhotonMode
@ krDensity
@ krIrradiance
OdGiMrExposureType
@ krLogarithmic
@ krAutomatic
OdGiMrFinalGatheringMode
@ krFinalGatherAuto
@ krFinalGatherOn
@ krFinalGatherOff
OdGiMrDiagnosticBSPMode
@ krSize
@ krDepth
OdGiFilterType
@ krETriangle
@ krEBox
@ krELanczos
@ krEMitchell
@ krEGaussian
OdGiMrDiagnosticGridMode
@ krCamera
@ krObject
@ krWorld
OdSmartPtr< OdGiMentalRayRenderSettingsTraits > OdGiMentalRayRenderSettingsTraitsPtr
OdGiMrExportMIMode
@ krExportMIOff
@ krExportMIWithRender
@ krExportMIOnly
OdGiLightingMode
@ krEBasic
@ krESimplistic
@ krEAdvanced
OdSmartPtr< OdGiRenderEnvironmentTraits > OdGiRenderEnvironmentTraitsPtr
Definition: GiEnvironment.h:63
OdSmartPtr< OdGiSolidBackgroundTraits > OdGiSolidBackgroundTraitsPtr
OdSmartPtr< OdGiGradientBackgroundTraits > OdGiGradientBackgroundTraitsPtr
OdGiMrFilter
Definition: GiEnvironment.h:97
@ krTriangle
Definition: GiEnvironment.h:99
@ krMitchell
@ krGauss
@ krBox
Definition: GiEnvironment.h:98
@ krLanczos
OdGiMrShadowMode
@ krSegments
@ krSimple
@ krSorted
OdGiMrTileOrder
@ krTopToBottom
@ krLeftToRight
@ krHilbert
@ krRightToLeft
@ krSpiral
@ krBottomToTop
#define ODRX_ABSTRACT
#define FIRSTDLL_EXPORT
Definition: RootExport.h:39
virtual void setColorBottom(const OdCmEntityColor &color)=0
virtual OdCmEntityColor colorMiddle() const =0
virtual void setColorMiddle(const OdCmEntityColor &color)=0
ODRX_DECLARE_MEMBERS(OdGiGradientBackgroundTraits)
virtual double rotation() const =0
virtual void setColorTop(const OdCmEntityColor &color)=0
virtual OdCmEntityColor colorTop() const =0
virtual void setHeight(double height)=0
virtual double horizon() const =0
virtual void setRotation(double rotation)=0
virtual OdCmEntityColor colorBottom() const =0
virtual void setHorizon(double horizon)=0
virtual double height() const =0
virtual void setColorGroundPlaneFar(const OdCmEntityColor &color)=0
virtual OdCmEntityColor colorSkyHorizon() const =0
virtual void setColorSkyHorizon(const OdCmEntityColor &color)=0
virtual OdCmEntityColor colorGroundPlaneNear() const =0
ODRX_DECLARE_MEMBERS(OdGiGroundPlaneBackgroundTraits)
virtual void setColorSkyZenith(const OdCmEntityColor &color)=0
virtual OdCmEntityColor colorSkyZenith() const =0
virtual void setColorUndergroundHorizon(const OdCmEntityColor &color)=0
virtual void setColorGroundPlaneNear(const OdCmEntityColor &color)=0
virtual OdCmEntityColor colorUndergroundHorizon() const =0
virtual OdCmEntityColor colorUndergroundAzimuth() const =0
virtual void setColorUndergroundAzimuth(const OdCmEntityColor &color)=0
virtual OdCmEntityColor colorGroundPlaneFar() const =0
virtual void setIBLImageName(const OdString &filename)=0
virtual void setEnable(bool bEnable)=0
virtual OdDbStub * secondaryBackground() const =0
virtual void setRotation(double rotation)=0
ODRX_DECLARE_MEMBERS(OdGiIBLBackgroundTraits)
virtual bool displayImage() const =0
virtual void setDisplayImage(bool bDisplay)=0
virtual double rotation() const =0
virtual bool enable() const =0
virtual const OdString & IBLImageName() const =0
virtual void setSecondaryBackground(OdDbStub *bgId)=0
virtual void setFitToScreen(bool bFitToScreen)=0
virtual const OdString & imageFilename() const =0
virtual void setYScale(double yScale)=0
virtual double xOffset() const =0
virtual double yScale() const =0
virtual double xScale() const =0
virtual double yOffset() const =0
virtual void setImageFilename(const OdString &filename)=0
virtual bool useTiling() const =0
virtual void setXOffset(double xOffset)=0
virtual bool maintainAspectRatio() const =0
ODRX_DECLARE_MEMBERS(OdGiImageBackgroundTraits)
virtual void setXScale(double xScale)=0
virtual bool fitToScreen() const =0
virtual void setYOffset(double yOffset)=0
virtual void setUseTiling(bool bUseTiling)=0
virtual void setMaintainAspectRatio(bool bMaintainAspectRatio)=0
virtual OdString exportMIFileName() const =0
virtual void fgSampleRadius(double &min, double &max) const =0
virtual void setProgressMonitor(void *pMonitor)=0
virtual void photonTraceDepth(int &reflection, int &refraction, int &sum) const =0
virtual OdGiMrExposureType exposureType() const =0
virtual void setTileSize(int size)=0
virtual OdGiMrFinalGatheringMode finalGatheringMode() const =0
virtual bool exportMIEnabled() const =0
virtual void setGISampleRadius(double radius)=0
virtual void setFGRayCount(int num)=0
virtual bool globalIlluminationEnabled() const =0
virtual void setSamplingFilter(OdGiMrFilter filter, double width, double height)=0
virtual double lightLuminanceScale() const =0
virtual void setLightLuminanceScale(double luminance)=0
virtual void setFinalGatheringEnabled(bool enabled)=0
virtual void setPhotonTraceDepth(int reflection, int refraction, int sum)=0
virtual void samplingContrastColor(float &r, float &g, float &b, float &a) const =0
virtual OdGiMrDiagnosticPhotonMode diagnosticPhotonMode() const =0
virtual void setExportMIEnabled(bool enabled)=0
virtual int fgRayCount() const =0
virtual void setMemoryLimit(int limit)=0
virtual void setSampling(int min, int max)=0
virtual void setGlobalIlluminationEnabled(bool enabled)=0
virtual void setShadowMode(OdGiMrShadowMode mode)=0
virtual bool giSampleRadiusEnabled() const =0
virtual bool shadowMapEnabled() const =0
virtual void setRayTraceEnabled(bool enabled)=0
virtual void setExportMIFileName(const OdString &miName)=0
ODRX_DECLARE_MEMBERS(OdGiMentalRayRenderSettingsTraits)
virtual OdGiMrExportMIMode exportMIMode() const =0
virtual void setGISampleCount(int num)=0
virtual bool rayTraceEnabled() const =0
virtual float energyMultiplier() const =0
virtual void setFGSampleRadius(double min, double max)=0
virtual int memoryLimit() const =0
virtual void rayTraceDepth(int &reflection, int &refraction, int &sum) const =0
virtual bool finalGatheringEnabled() const =0
virtual void setEnergyMultiplier(float fScale)=0
virtual void SamplingFilter(OdGiMrFilter &filter, double &width, double &height) const =0
virtual void setGISampleRadiusEnabled(bool enabled)=0
virtual double giSampleRadius() const =0
virtual void setGIPhotonsPerLight(int num)=0
virtual void setExportMIMode(OdGiMrExportMIMode mode)=0
virtual void sampling(int &min, int &max) const =0
virtual OdGiMrShadowMode shadowMode() const =0
virtual void setDiagnosticMode(OdGiMrDiagnosticMode mode)=0
virtual void setDiagnosticBSPMode(OdGiMrDiagnosticBSPMode mode)=0
virtual void setRayTraceDepth(int reflection, int refraction, int sum)=0
virtual void setShadowSamplingMultiplier(double multiplier)=0
virtual OdGiMrDiagnosticBSPMode diagnosticBSPMode() const =0
virtual void fgSampleRadiusState(bool &bMin, bool &bMax, bool &bPixels)=0
virtual const void * progressMonitor() const =0
virtual void setDiagnosticGridMode(OdGiMrDiagnosticGridMode mode, float fSize)=0
virtual int giPhotonsPerLight() const =0
virtual void diagnosticGridMode(OdGiMrDiagnosticGridMode &mode, float &fSize) const =0
virtual void setFGRadiusState(bool bMin, bool bMax, bool bPixels)=0
virtual void setTileOrder(OdGiMrTileOrder order)=0
virtual OdGiMrTileOrder tileOrder() const =0
virtual OdGiMrDiagnosticMode diagnosticMode() const =0
virtual double shadowSamplingMultiplier() const =0
virtual int tileSize() const =0
virtual void setShadowMapEnabled(bool enabled)=0
virtual void setFinalGatheringMode(OdGiMrFinalGatheringMode mode)=0
virtual int giSampleCount() const =0
virtual void setDiagnosticPhotonMode(OdGiMrDiagnosticPhotonMode mode)=0
virtual void setSamplingContrastColor(float r, float g, float b, float a)=0
virtual void setExposureType(OdGiMrExposureType type)=0
virtual void setFilterWidth(float width)=0
virtual void setQuitCondition(OdGiQuitCondition condition)=0
virtual OdGiQuitCondition quitCondition() const =0
ODRX_DECLARE_MEMBERS(OdGiRapidRTRenderSettingsTraits)
virtual int desiredRenderTime() const =0
virtual void setFilterHeight(float height)=0
virtual void setDesiredRenderLevel(int level)=0
virtual OdGiFilterType filterType() const =0
virtual float filterHeight() const =0
virtual int desiredRenderLevel() const =0
virtual OdGiLightingMode lightingMode() const =0
virtual void setDesiredRenderTime(int time)=0
virtual void setFilterType(OdGiFilterType type)=0
virtual float filterWidth() const =0
virtual void setLightingMode(OdGiLightingMode mode)=0
virtual void setNearPercentage(double nearPct)=0
virtual double nearPercentage() const =0
virtual OdGiMaterialTexture * environmentMap() const =0
virtual double farPercentage() const =0
virtual void setIsBackground(bool bEnable)=0
virtual void setEnvironmentMap(const OdGiMaterialTexture *m)=0
virtual void setEnable(bool bEnable)=0
virtual bool isBackground() const =0
virtual double nearDistance() const =0
virtual void setFogColor(const OdCmEntityColor &color)=0
ODRX_DECLARE_MEMBERS(OdGiRenderEnvironmentTraits)
virtual void setFarDistance(double farDist)=0
virtual OdCmEntityColor fogColor() const =0
virtual double farDistance() const =0
virtual void setFarPercentage(double farPct)=0
virtual void setNearDistance(double nearDist)=0
virtual bool enable() const =0
virtual void setModelScaleFactor(double scaleFactor)=0
virtual double modelScaleFactor() const =0
virtual bool textureSampling() const =0
virtual bool diagnosticBackgroundEnabled() const =0
virtual void setShadowsEnabled(bool enabled)=0
virtual void setDiagnosticBackgroundEnabled(bool enabled)=0
virtual bool shadowsEnabled() const =0
virtual void setBackFacesEnabled(bool enabled)=0
virtual void setMaterialEnabled(bool enabled)=0
virtual bool materialEnabled() const =0
virtual bool backFacesEnabled() const =0
virtual void setTextureSampling(bool enabled)=0
ODRX_DECLARE_MEMBERS(OdGiRenderSettingsTraits)
virtual void skyParameters(OdGiSkyParameters &params) const =0
ODRX_DECLARE_MEMBERS(OdGiSkyBackgroundTraits)
virtual void setSkyParameters(const OdGiSkyParameters &params)=0
virtual void setColorSolid(const OdCmEntityColor &color)=0
virtual OdCmEntityColor colorSolid() const =0
ODRX_DECLARE_MEMBERS(OdGiSolidBackgroundTraits)
GLenum GLint * params
Definition: gles2_ext.h:184
GLint level
Definition: gles2_ext.h:110
GLint GLenum GLsizei width
Definition: gles2_ext.h:110
GLsizeiptr size
Definition: gles2_ext.h:182
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110
const T & min(const T &x, const T &y)
const T & max(const T &x, const T &y)