|
|
@ -746,26 +746,26 @@ public class RenderManager { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Sets the light filter to use when rendering lighted Geometries |
|
|
|
* Sets the light filter to use when rendering lit Geometries. |
|
|
|
* |
|
|
|
* |
|
|
|
* @see LightFilter |
|
|
|
* @see LightFilter |
|
|
|
* @param lightFilter The light filter. Set it to null if you want all lights to be rendered |
|
|
|
* @param lightFilter The light filter. Set it to null if you want all lights to be rendered. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public void setLightFilter(LightFilter lightFilter) { |
|
|
|
public void setLightFilter(LightFilter lightFilter) { |
|
|
|
this.lightFilter = lightFilter; |
|
|
|
this.lightFilter = lightFilter; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Defines what light mode will be selected when a technique offers several light modes |
|
|
|
* Defines what light mode will be selected when a technique offers several light modes. |
|
|
|
* @param preferredLightMode |
|
|
|
* @param preferredLightMode The light mode to use. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public void setPreferredLightMode(TechniqueDef.LightMode preferredLightMode) { |
|
|
|
public void setPreferredLightMode(TechniqueDef.LightMode preferredLightMode) { |
|
|
|
this.preferredLightMode = preferredLightMode; |
|
|
|
this.preferredLightMode = preferredLightMode; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* returns the preferred light mode |
|
|
|
* returns the preferred light mode. |
|
|
|
* @return the light mode |
|
|
|
* @return the light mode. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public TechniqueDef.LightMode getPreferredLightMode() { |
|
|
|
public TechniqueDef.LightMode getPreferredLightMode() { |
|
|
|
return preferredLightMode; |
|
|
|
return preferredLightMode; |
|
|
@ -781,7 +781,7 @@ public class RenderManager { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Sets the number of lights to use for each pass when the light mode is single pass. |
|
|
|
* Sets the number of lights to use for each pass when the light mode is single pass. |
|
|
|
* @param singlePassLightBatchSize the number of lights |
|
|
|
* @param singlePassLightBatchSize the number of lights. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public void setSinglePassLightBatchSize(int singlePassLightBatchSize) { |
|
|
|
public void setSinglePassLightBatchSize(int singlePassLightBatchSize) { |
|
|
|
this.singlePassLightBatchSize = singlePassLightBatchSize; |
|
|
|
this.singlePassLightBatchSize = singlePassLightBatchSize; |
|
|
|