(ShaderOption[] ops)
| 1779 | } |
| 1780 | |
| 1781 | public static ShaderOption[] getChangedOptions(ShaderOption[] ops) |
| 1782 | { |
| 1783 | List<ShaderOption> list = new ArrayList(); |
| 1784 | |
| 1785 | for (int i = 0; i < ops.length; ++i) |
| 1786 | { |
| 1787 | ShaderOption shaderoption = ops[i]; |
| 1788 | |
| 1789 | if (shaderoption.isEnabled() && shaderoption.isChanged()) |
| 1790 | { |
| 1791 | list.add(shaderoption); |
| 1792 | } |
| 1793 | } |
| 1794 | |
| 1795 | ShaderOption[] ashaderoption = (ShaderOption[])((ShaderOption[])list.toArray(new ShaderOption[list.size()])); |
| 1796 | return ashaderoption; |
| 1797 | } |
| 1798 | |
| 1799 | private static String applyOptions(String line, ShaderOption[] ops) |
| 1800 | { |
no test coverage detected