private void ShowShaderErrors(ComputeShader s) { if (ShaderUtil.GetComputeShaderErrorCount(s) >= 1) { ShaderInspector.ShaderErrorListUI(s, ShaderUtil.GetComputeShaderErrors(s), ref this.m_ScrollPosition); } }
private void ShowShaderErrors(ComputeShader s) { if (ShaderUtil.GetComputeShaderErrorCount(s) < 1) { return; } ShaderInspector.ShaderErrorListUI((Object)s, ShaderUtil.GetComputeShaderErrors(s), ref this.m_ScrollPosition); }
private void ShowShaderErrors(Shader s) { int shaderErrorCount = ShaderUtil.GetShaderErrorCount(s); if (shaderErrorCount >= 1) { ShaderInspector.ShaderErrorListUI(s, ShaderUtil.GetShaderErrors(s), ref this.m_ScrollPosition); } }
private void ShowShaderErrors(ComputeShader s) { int n = ShaderUtil.GetComputeShaderErrorCount(s); if (n < 1) { return; } ShaderInspector.ShaderErrorListUI(s, ShaderUtil.GetComputeShaderErrors(s), ref m_ScrollPosition); }
private void ShowShaderErrors(RayTracingShader s) { int n = ShaderUtil.GetRayTracingShaderMessageCount(s); if (n < 1) { return; } ShaderInspector.ShaderErrorListUI(s, ShaderUtil.GetRayTracingShaderMessages(s), ref m_ScrollPosition); }
private void ShowShaderErrors(ComputeShader s) { if (Event.current.type == EventType.Layout) { int n = ShaderUtil.GetComputeShaderMessageCount(s); m_ShaderMessages = null; if (n >= 1) { m_ShaderMessages = ShaderUtil.GetComputeShaderMessages(s); } } if (m_ShaderMessages == null) { return; } ShaderInspector.ShaderErrorListUI(s, m_ShaderMessages, ref m_ScrollPosition); }