CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GiEnvironment.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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 Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 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
31
39{
40public:
42
48 virtual void setEnable(bool bEnable) = 0;
49
56 virtual bool enable() const = 0;
57
63 virtual void setIsBackground(bool bEnable) = 0;
64
71 virtual bool isBackground() const = 0;
72
78 virtual void setFogColor(const OdCmEntityColor& color) = 0;
79
86 virtual OdCmEntityColor fogColor() const = 0;
87
93 virtual void setNearDistance(double nearDist) = 0;
94
101 virtual double nearDistance() const = 0;
102
108 virtual void setFarDistance(double farDist) = 0;
109
116 virtual double farDistance() const = 0;
117
123 virtual void setNearPercentage(double nearPct) = 0;
124
131 virtual double nearPercentage() const = 0;
132
138 virtual void setFarPercentage(double farPct) = 0;
139
146 virtual double farPercentage() const = 0;
147
153 virtual void setEnvironmentMap(const OdGiMaterialTexture* m) = 0;
154
162};
163
168
169
177{
178public:
180
189 virtual void setMaterialEnabled(bool enabled) = 0;
190
197 virtual bool materialEnabled() const = 0;
198
204 virtual void setTextureSampling(bool enabled) = 0;
205
215 virtual bool textureSampling() const = 0;
216
222 virtual void setBackFacesEnabled(bool enabled) = 0;
223
230 virtual bool backFacesEnabled() const = 0;
231
237 virtual void setShadowsEnabled(bool enabled) = 0;
238
245 virtual bool shadowsEnabled() const = 0;
246
252 virtual void setDiagnosticBackgroundEnabled(bool enabled) = 0;
253
260 virtual bool diagnosticBackgroundEnabled() const = 0;
261
270 virtual void setModelScaleFactor(double scaleFactor) = 0;
271
278 virtual double modelScaleFactor() const = 0;
279};
280
285
286
287typedef enum OdGiMrFilter_
288{
290 krBox = 0,
298 krLanczos = 4
300OdGiMrFilter; // Represents filtering methods for merging samples into a pixel color.
301
303{
309 krSegments = 2
311OdGiMrShadowMode; // Represents available methods for processing ray-traced shadows.
312
314{
316 krOff = 0,
324 krBSP = 4
326OdGiMrDiagnosticMode; // Represents available diagnostic visualization modes.
327
329{
335 krCamera = 2
337OdGiMrDiagnosticGridMode; // Represents available coordinate systems to use for the diagnostic grid.
338
340{
344 krIrradiance = 1
346OdGiMrDiagnosticPhotonMode; // Represents the type of photon information that is used in the photon diagnostic mode.
347
349{
353 krSize = 1
355OdGiMrDiagnosticBSPMode; // Represents the available types of BSP information to visualize with the BSP diagnostic mode.
356
358{
370 krBottomToTop = 5
372OdGiMrTileOrder; // Represents the available sequences for rendered image tiles that can be followed.
373
375{
379 krLogarithmic = 1
381OdGiMrExposureType; // Represents the available exposure types.
382
384{
390
392{
400OdGiMrExportMIMode; // Represents values for MI mode exporting.
401
409{
410public:
412
419 virtual void setSampling(int min, int max) = 0;
420
427 virtual void sampling(int& min, int& max) const = 0;
428
429
430
438 virtual void setSamplingFilter(OdGiMrFilter filter, double width, double height) = 0;
439
447 virtual void SamplingFilter(OdGiMrFilter& filter, double& width, double& height) const = 0;
448
449
450
462 virtual void setSamplingContrastColor(float r, float g, float b, float a) = 0;
463
475 virtual void samplingContrastColor(float& r, float& g, float& b, float& a) const = 0;
476
477
478
484 virtual void setShadowMode(OdGiMrShadowMode mode) = 0;
485
492 virtual OdGiMrShadowMode shadowMode() const = 0;
493
494
495
501 virtual void setShadowMapEnabled(bool enabled) = 0;
502
509 virtual bool shadowMapEnabled() const = 0;
510
511
512
518 virtual void setRayTraceEnabled(bool enabled) = 0;
519
526 virtual bool rayTraceEnabled() const = 0;
527
528
529
537 virtual void setRayTraceDepth(int reflection, int refraction, int sum) = 0;
538
546 virtual void rayTraceDepth(int& reflection, int& refraction, int& sum) const = 0;
547
548
549
555 virtual void setGlobalIlluminationEnabled(bool enabled) = 0;
556
563 virtual bool globalIlluminationEnabled() const = 0;
564
565
566
572 virtual void setGISampleCount(int num) = 0;
573
580 virtual int giSampleCount() const = 0;
581
582
583
589 virtual void setGISampleRadiusEnabled(bool enabled) = 0;
590
597 virtual bool giSampleRadiusEnabled() const = 0;
598
599
600
609 virtual void setGISampleRadius(double radius) = 0;
610
617 virtual double giSampleRadius() const = 0;
618
619
620
626 virtual void setGIPhotonsPerLight(int num) = 0;
627
634 virtual int giPhotonsPerLight() const = 0;
635
636
637
645 virtual void setPhotonTraceDepth(int reflection, int refraction, int sum) = 0;
646
654 virtual void photonTraceDepth(int& reflection, int& refraction, int& sum) const = 0;
655
656
657
666 virtual void setFinalGatheringEnabled(bool enabled) = 0;
667
677 virtual bool finalGatheringEnabled() const = 0;
678
679
680
689 virtual void setFGRayCount(int num) = 0;
690
700 virtual int fgRayCount() const = 0;
701
702
703
711 virtual void setFGRadiusState(bool bMin, bool bMax, bool bPixels) = 0;
712
720 virtual void fgSampleRadiusState(bool& bMin, bool& bMax, bool& bPixels) = 0;
721
722
723
730 virtual void setFGSampleRadius(double min, double max) = 0;
731
738 virtual void fgSampleRadius(double& min, double& max) const = 0;
739
740
741
747 virtual void setLightLuminanceScale(double luminance) = 0;
748
755 virtual double lightLuminanceScale() const = 0;
756
757
758
765
773
774
775
782 virtual void setDiagnosticGridMode(OdGiMrDiagnosticGridMode mode, float fSize) = 0;
783
790 virtual void diagnosticGridMode(OdGiMrDiagnosticGridMode& mode, float& fSize) const = 0;
791
792
793
800
808
809
810
817
825
826
827
833 virtual void setExportMIEnabled(bool enabled) = 0;
834
841 virtual bool exportMIEnabled() const = 0;
842
843
844
850 virtual void setExportMIFileName(const OdString& miName) = 0;
851
858 virtual OdString exportMIFileName() const = 0;
859
860
861
871 virtual void setTileSize(int size) = 0;
872
879 virtual int tileSize() const = 0;
880
881
882
888 virtual void setTileOrder(OdGiMrTileOrder order) = 0;
889
896 virtual OdGiMrTileOrder tileOrder() const = 0;
897
898
899
905 virtual void setMemoryLimit(int limit) = 0;
906
913 virtual int memoryLimit() const = 0;
914
915
916
922 virtual void setEnergyMultiplier(float fScale) = 0;
923
930 virtual float energyMultiplier() const = 0;
931
932
933
939 virtual void setProgressMonitor(void* pMonitor) = 0;
940
947 virtual const void* progressMonitor() const = 0;
948
949
956
963 virtual OdGiMrExposureType exposureType() const = 0;
964
965
966
976
987
988
989
995 virtual void setShadowSamplingMultiplier(double multiplier) = 0;
996
1003 virtual double shadowSamplingMultiplier() const = 0;
1004
1005
1006
1012 virtual void setExportMIMode(OdGiMrExportMIMode mode) = 0;
1013
1021};
1022
1027
1028
1030{
1036OdGiQuitCondition; // Represents the quit condition.
1037
1039{
1045 krEAdvanced = 2
1047OdGiLightingMode; // Represents light modes.
1048
1050{
1060 krEMitchell = 4
1062OdGiFilterType; // Represents filter types.
1063
1070{
1071public:
1073
1079 virtual void setQuitCondition(OdGiQuitCondition condition) = 0;
1080
1088
1089
1090
1096 virtual void setDesiredRenderLevel(int level) = 0;
1097
1104 virtual int desiredRenderLevel() const = 0;
1105
1106
1107
1113 virtual void setDesiredRenderTime(int time) = 0;
1114
1121 virtual int desiredRenderTime() const = 0;
1122
1123
1134 virtual void setLightingMode(OdGiLightingMode mode) = 0;
1135
1147 virtual OdGiLightingMode lightingMode() const = 0;
1148
1149
1150
1157
1164 virtual OdGiFilterType filterType() const = 0;
1165
1166
1167
1184 virtual void setFilterWidth(float width) = 0;
1185
1192 virtual float filterWidth() const = 0;
1193
1194
1195
1212 virtual void setFilterHeight(float height) = 0;
1213
1220 virtual float filterHeight() const = 0;
1221};
1222
1227
1228
1236{
1237public:
1239
1245 virtual void setColorSolid(const OdCmEntityColor& color) = 0;
1246
1253 virtual OdCmEntityColor colorSolid() const = 0;
1254};
1255
1260
1261
1269{
1270public:
1272
1278 virtual void setColorTop(const OdCmEntityColor& color) = 0;
1279
1286 virtual OdCmEntityColor colorTop() const = 0;
1287
1288
1289
1295 virtual void setColorMiddle(const OdCmEntityColor& color) = 0;
1296
1303 virtual OdCmEntityColor colorMiddle() const = 0;
1304
1305
1306
1312 virtual void setColorBottom(const OdCmEntityColor& color) = 0;
1313
1320 virtual OdCmEntityColor colorBottom() const = 0;
1321
1322
1323
1333 virtual void setHorizon(double horizon) = 0;
1334
1341 virtual double horizon() const = 0;
1342
1343
1344
1354 virtual void setHeight(double height) = 0;
1355
1362 virtual double height() const = 0;
1363
1364
1365
1376 virtual void setRotation(double rotation) = 0;
1377
1384 virtual double rotation() const = 0;
1385};
1386
1391
1392
1400{
1401public:
1403
1409 virtual void setImageFilename(const OdString& filename) = 0;
1410
1417 virtual const OdString& imageFilename() const = 0;
1418
1419
1420
1426 virtual void setFitToScreen(bool bFitToScreen) = 0;
1427
1434 virtual bool fitToScreen() const = 0;
1435
1436
1437
1444 virtual void setMaintainAspectRatio(bool bMaintainAspectRatio) = 0;
1445
1452 virtual bool maintainAspectRatio() const = 0;
1453
1454
1455
1464 virtual void setUseTiling(bool bUseTiling) = 0;
1465
1472 virtual bool useTiling() const = 0;
1473
1474
1475
1481 virtual void setXOffset(double xOffset) = 0;
1482
1489 virtual double xOffset() const = 0;
1490
1491
1492
1498 virtual void setYOffset(double yOffset) = 0;
1499
1506 virtual double yOffset() const = 0;
1507
1508
1509
1515 virtual void setXScale(double xScale) = 0;
1516
1524 virtual double xScale() const = 0;
1525
1526
1527
1533 virtual void setYScale(double yScale) = 0;
1534
1542 virtual double yScale() const = 0;
1543};
1544
1549
1550
1558{
1559public:
1561
1567 virtual void setColorSkyZenith(const OdCmEntityColor& color) = 0;
1568
1575 virtual OdCmEntityColor colorSkyZenith() const = 0;
1576
1577
1578
1584 virtual void setColorSkyHorizon(const OdCmEntityColor& color) = 0;
1585
1593
1594
1595
1601 virtual void setColorUndergroundHorizon(const OdCmEntityColor& color) = 0;
1602
1610
1611
1612
1618 virtual void setColorUndergroundAzimuth(const OdCmEntityColor& color) = 0;
1619
1627
1628
1629
1635 virtual void setColorGroundPlaneNear(const OdCmEntityColor& color) = 0;
1636
1644
1645
1646
1652 virtual void setColorGroundPlaneFar(const OdCmEntityColor& color) = 0;
1653
1661};
1662
1667
1668
1676{
1677public:
1679
1686
1692 virtual void skyParameters(OdGiSkyParameters& params) const = 0;
1693};
1694
1699
1700
1708{
1709public:
1711
1717 virtual void setEnable(bool bEnable) = 0;
1718
1725 virtual bool enable() const = 0;
1726
1727
1728
1734 virtual void setIBLImageName(const OdString& filename) = 0;
1735
1742 virtual const OdString& IBLImageName() const = 0;
1743
1744
1745
1751 virtual void setRotation(double rotation) = 0;
1752
1759 virtual double rotation() const = 0;
1760
1761
1762
1768 virtual void setDisplayImage(bool bDisplay) = 0;
1769
1776 virtual bool displayImage() const = 0;
1777
1778
1779
1785 virtual void setSecondaryBackground(OdDbStub* bgId) = 0;
1786
1793 virtual OdDbStub* secondaryBackground() const = 0;
1794};
1795
1800
1801#endif // _GIENVIRONMENT_H_INCLUDED_
enum OdGiLightingMode_ OdGiLightingMode
OdSmartPtr< OdGiRapidRTRenderSettingsTraits > OdGiRapidRTRenderSettingsTraitsPtr
OdGiMrShadowMode_
@ krSegments
@ krSimple
@ krSorted
OdGiMrExposureType_
@ krLogarithmic
@ krAutomatic
enum OdGiMrTileOrder_ OdGiMrTileOrder
OdGiMrDiagnosticPhotonMode_
@ krDensity
@ krIrradiance
OdSmartPtr< OdGiGroundPlaneBackgroundTraits > OdGiGroundPlaneBackgroundTraitsPtr
enum OdGiMrFilter_ OdGiMrFilter
OdSmartPtr< OdGiRenderSettingsTraits > OdGiRenderSettingsTraitsPtr
OdSmartPtr< OdGiImageBackgroundTraits > OdGiImageBackgroundTraitsPtr
OdSmartPtr< OdGiIBLBackgroundTraits > OdGiIBLBackgroundTraitsPtr
OdGiMrFinalGatheringMode_
@ krFinalGatherAuto
@ krFinalGatherOn
@ krFinalGatherOff
enum OdGiMrDiagnosticMode_ OdGiMrDiagnosticMode
OdSmartPtr< OdGiSkyBackgroundTraits > OdGiSkyBackgroundTraitsPtr
enum OdGiMrDiagnosticPhotonMode_ OdGiMrDiagnosticPhotonMode
enum OdGiMrDiagnosticBSPMode_ OdGiMrDiagnosticBSPMode
enum OdGiMrShadowMode_ OdGiMrShadowMode
OdGiMrFilter_
@ krTriangle
@ krMitchell
@ krGauss
@ krBox
@ krLanczos
OdGiMrDiagnosticGridMode_
@ krCamera
@ krObject
@ krWorld
OdGiFilterType_
@ krETriangle
@ krEBox
@ krELanczos
@ krEMitchell
@ krEGaussian
enum OdGiMrDiagnosticGridMode_ OdGiMrDiagnosticGridMode
OdGiMrTileOrder_
@ krTopToBottom
@ krLeftToRight
@ krHilbert
@ krRightToLeft
@ krSpiral
@ krBottomToTop
OdGiLightingMode_
@ krEBasic
@ krESimplistic
@ krEAdvanced
enum OdGiMrExportMIMode_ OdGiMrExportMIMode
enum OdGiMrExposureType_ OdGiMrExposureType
enum OdGiMrFinalGatheringMode_ OdGiMrFinalGatheringMode
OdSmartPtr< OdGiMentalRayRenderSettingsTraits > OdGiMentalRayRenderSettingsTraitsPtr
OdGiMrDiagnosticMode_
@ krOff
@ krGrid
@ krSamples
@ krBSP
@ krPhoton
OdSmartPtr< OdGiRenderEnvironmentTraits > OdGiRenderEnvironmentTraitsPtr
OdSmartPtr< OdGiSolidBackgroundTraits > OdGiSolidBackgroundTraitsPtr
OdGiMrDiagnosticBSPMode_
@ krSize
@ krDepth
enum OdGiFilterType_ OdGiFilterType
OdGiQuitCondition_
@ krEQuitByRenderTime
@ krEQuitByRenderLevel
OdSmartPtr< OdGiGradientBackgroundTraits > OdGiGradientBackgroundTraitsPtr
OdGiMrExportMIMode_
@ krExportMIOff
@ krExportMIWithRender
@ krExportMIOnly
enum OdGiQuitCondition_ OdGiQuitCondition
#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 void setRotation(double rotation)=0
ODRX_DECLARE_MEMBERS(OdGiIBLBackgroundTraits)
virtual bool displayImage() const =0
virtual const OdString & IBLImageName() const =0
virtual void setDisplayImage(bool bDisplay)=0
virtual double rotation() const =0
virtual bool enable() const =0
virtual void setSecondaryBackground(OdDbStub *bgId)=0
virtual OdDbStub * secondaryBackground() const =0
virtual void setFitToScreen(bool bFitToScreen)=0
virtual void setYScale(double yScale)=0
virtual double xOffset() const =0
virtual const OdString & imageFilename() 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 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 const void * progressMonitor() const =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 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
virtual OdGiMaterialTexture * environmentMap() const =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