Esempio n. 1
0
            public override void InitDetailCheckObject(Object obj)
            {
                Shader        shader  = obj as Shader;
                ShaderChecker checker = currentChecker as ShaderChecker;

                checkMap.Add(checker.shaderMaxLod, shader.maximumLOD);
                checkMap.Add(checker.shaderRenderQueue, shader.renderQueue);
                int propertyCount = ShaderUtil.GetPropertyCount(shader);

                for (int i = 0; i < propertyCount; i++)
                {
                    GetShaderProperty(shader, i);
                }
                checkMap.Add(checker.shaderPropertyCount, propertyCount);
            }
Esempio n. 2
0
 public ShaderDetail(Object obj, ShaderChecker checker) : base(obj, checker)
 {
 }