|
@@ -14,7 +14,7 @@ class Renderer
|
|
|
void SetMaterialQuality(int quality);
|
|
void SetMaterialQuality(int quality);
|
|
|
void SetDrawShadows(bool enable);
|
|
void SetDrawShadows(bool enable);
|
|
|
void SetShadowMapSize(int size);
|
|
void SetShadowMapSize(int size);
|
|
|
- void SetShadowQuality(int quality);
|
|
|
|
|
|
|
+ void SetShadowQuality(ShadowQuality quality);
|
|
|
void SetReuseShadowMaps(bool enable);
|
|
void SetReuseShadowMaps(bool enable);
|
|
|
void SetMaxShadowMaps(int shadowMaps);
|
|
void SetMaxShadowMaps(int shadowMaps);
|
|
|
void SetDynamicInstancing(bool enable);
|
|
void SetDynamicInstancing(bool enable);
|
|
@@ -39,7 +39,7 @@ class Renderer
|
|
|
int GetTextureQuality() const;
|
|
int GetTextureQuality() const;
|
|
|
int GetMaterialQuality() const;
|
|
int GetMaterialQuality() const;
|
|
|
int GetShadowMapSize() const;
|
|
int GetShadowMapSize() const;
|
|
|
- int GetShadowQuality() const;
|
|
|
|
|
|
|
+ ShadowQuality GetShadowQuality() const;
|
|
|
bool GetReuseShadowMaps() const;
|
|
bool GetReuseShadowMaps() const;
|
|
|
int GetMaxShadowMaps() const;
|
|
int GetMaxShadowMaps() const;
|
|
|
bool GetDynamicInstancing() const;
|
|
bool GetDynamicInstancing() const;
|
|
@@ -75,7 +75,7 @@ class Renderer
|
|
|
tolua_property__get_set int textureQuality;
|
|
tolua_property__get_set int textureQuality;
|
|
|
tolua_property__get_set int materialQuality;
|
|
tolua_property__get_set int materialQuality;
|
|
|
tolua_property__get_set int shadowMapSize;
|
|
tolua_property__get_set int shadowMapSize;
|
|
|
- tolua_property__get_set int shadowQuality;
|
|
|
|
|
|
|
+ tolua_property__get_set ShadowQuality shadowQuality;
|
|
|
tolua_property__get_set bool reuseShadowMaps;
|
|
tolua_property__get_set bool reuseShadowMaps;
|
|
|
tolua_property__get_set int maxShadowMaps;
|
|
tolua_property__get_set int maxShadowMaps;
|
|
|
tolua_property__get_set bool dynamicInstancing;
|
|
tolua_property__get_set bool dynamicInstancing;
|