static public int get_defaultMixedLightingMode(IntPtr l) { try { UnityEngine.Experimental.Rendering.SupportedRenderingFeatures self = (UnityEngine.Experimental.Rendering.SupportedRenderingFeatures)checkSelf(l); pushValue(l, true); pushEnum(l, (int)self.defaultMixedLightingMode); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int get_reflectionProbeSupportFlags(IntPtr l) { try { UnityEngine.Experimental.Rendering.SupportedRenderingFeatures self = (UnityEngine.Experimental.Rendering.SupportedRenderingFeatures)checkSelf(l); pushValue(l, true); pushEnum(l, (int)self.reflectionProbeSupportFlags); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int get_rendererOverridesOtherLightingSettings(IntPtr l) { try { UnityEngine.Experimental.Rendering.SupportedRenderingFeatures self = (UnityEngine.Experimental.Rendering.SupportedRenderingFeatures)checkSelf(l); pushValue(l, true); pushValue(l, self.rendererOverridesOtherLightingSettings); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int get_rendererSupportsRendererPriority(IntPtr l) { try { UnityEngine.Experimental.Rendering.SupportedRenderingFeatures self = (UnityEngine.Experimental.Rendering.SupportedRenderingFeatures)checkSelf(l); pushValue(l, true); pushValue(l, self.rendererSupportsRendererPriority); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int constructor(IntPtr l) { try { UnityEngine.Experimental.Rendering.SupportedRenderingFeatures o; o = new UnityEngine.Experimental.Rendering.SupportedRenderingFeatures(); pushValue(l, true); pushValue(l, o); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int set_reflectionProbeSupportFlags(IntPtr l) { try { UnityEngine.Experimental.Rendering.SupportedRenderingFeatures self = (UnityEngine.Experimental.Rendering.SupportedRenderingFeatures)checkSelf(l); UnityEngine.Experimental.Rendering.SupportedRenderingFeatures.ReflectionProbeSupportFlags v; checkEnum(l, 2, out v); self.reflectionProbeSupportFlags = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int set_rendererOverridesFog(IntPtr l) { try { UnityEngine.Experimental.Rendering.SupportedRenderingFeatures self = (UnityEngine.Experimental.Rendering.SupportedRenderingFeatures)checkSelf(l); bool v; checkType(l, 2, out v); self.rendererOverridesFog = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int set_supportedLightmapsModes(IntPtr l) { try { UnityEngine.Experimental.Rendering.SupportedRenderingFeatures self = (UnityEngine.Experimental.Rendering.SupportedRenderingFeatures)checkSelf(l); UnityEngine.LightmapsMode v; checkEnum(l, 2, out v); self.supportedLightmapsModes = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
internal static MixedLightingMode FallbackMixedLightingMode() { MixedLightingMode result; if (SupportedRenderingFeatures.active.defaultMixedLightingMode != SupportedRenderingFeatures.LightmapMixedBakeMode.None && (SupportedRenderingFeatures.active.supportedMixedLightingModes & SupportedRenderingFeatures.active.defaultMixedLightingMode) == SupportedRenderingFeatures.active.defaultMixedLightingMode) { SupportedRenderingFeatures.LightmapMixedBakeMode defaultMixedLightingMode = SupportedRenderingFeatures.active.defaultMixedLightingMode; if (defaultMixedLightingMode != SupportedRenderingFeatures.LightmapMixedBakeMode.Shadowmask) { if (defaultMixedLightingMode != SupportedRenderingFeatures.LightmapMixedBakeMode.Subtractive) { result = MixedLightingMode.IndirectOnly; } else { result = MixedLightingMode.Subtractive; } } else { result = MixedLightingMode.Shadowmask; } } else if (SupportedRenderingFeatures.IsMixedLightingModeSupported(MixedLightingMode.Shadowmask)) { result = MixedLightingMode.Shadowmask; } else if (SupportedRenderingFeatures.IsMixedLightingModeSupported(MixedLightingMode.Subtractive)) { result = MixedLightingMode.Subtractive; } else { result = MixedLightingMode.IndirectOnly; } return(result); }