options.java

来自「Sunflow是一个照片级的渲染系统」· Java 代码 · 共 18 行

JAVA
18
字号
package org.sunflow.core;

import org.sunflow.SunflowAPI;
import org.sunflow.util.FastHashMap;

/**
 * This holds rendering objects as key, value pairs.
 */
public final class Options extends ParameterList implements RenderObject {
    public boolean update(ParameterList pl, SunflowAPI api) {
        // take all attributes, and update them into the current set
        for (FastHashMap.Entry<String, Parameter> e : pl.list) {
            list.put(e.getKey(), e.getValue());
            e.getValue().check();
        }
        return true;
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?