34 void setNameAndRegister(
const std::string& name,
int quality);
37 const std::string&
name() {
return myName; }
43 void setDirty(
bool dirty);
46 bool dirty()
const {
return myDirty; }
49 void setEntitiesCastsShadows(
bool castShadows);
55 void setPropsCastsShadows(
bool castShadows);
61 void setTerrainCastsShadows(
bool castShadows);
67 void setCloudsCastsShadows(
bool castShadows);
73 void setVisualizeShadows(
bool visualizeShadows);
79 void setNumberOfSplits(
unsigned int numSplits);
86 void setUseCachedFarCascade(
bool useCachedFarCascade);
98 void setUseFrontFaceCulling(
bool useFrontFaceCulling);
104 void setUsePolygonOffset(
bool usePolygonOffset);
110 void setPolygonOffset(
unsigned int splitIndex,
float factor,
float units);
113 float polygonOffsetFactor(
unsigned int splitIndex)
const;
116 float polygonOffsetUnits(
unsigned int splitIndex)
const;
119 void setSpotLightShadowMapSize(
unsigned int size);
125 void setGlobalLightShadowMapSize(
unsigned int size);
131 void setUseMaximumViewDistance(
bool useMaximumViewDistance);
137 void setMaximumViewDistance(
double viewDistance);
143 void setShadowAmbientFactor(
float shadowAmbientFactor);
161 void setMixedSplitInterpolationValue(
double interp);
197 void setUseViewportMulticast(
bool useViewportMulticast);
203 void setNumPersistentPassesPerCascade(
unsigned int numPasses);
209 void setNumAdditionalPassesPerCascade(
unsigned int numPasses);
215 void setPcfFilterWidth(
unsigned int pcfFilterWidth);
221 void setBlendCascadesBoundaries(
bool blendCascadesBoundaries);
227 void setUseSDSM(
bool useSDSM);
233 void setSDSMReadBackLatency(
unsigned int sdsmReadBackLatency);
239 void setUseCameraDepthBufferForSDSM(
bool useCameraDepthBufferForSDSM);
245 void setSDSMRenderInterval(
double sdsmRenderInterval);
260 void setSplitNearDistanceMinimumBias(
double bias);
266 void setSplitNearDistanceMaximumBias(
double bias);
272 void setSplitFarDistanceBias(
double bias);
278 void setEVSMPositiveExponent(
double evsmPositiveExponent);
284 void setEVSMNegativeExponent(
double evsmNegativeExponent);
290 void setVSMMininumVariance(
double vsmMininumVariance);
296 void setESMDarkeningFactor(
double esmDarkeningFactor);
302 void setAntiFlickerQuantizationFactor(
float antiFlickerQuantizationFactor);