sceneparser.java

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

JAVA
19
字号
package org.sunflow.core;

import org.sunflow.SunflowAPI;

/**
 * Simple interface to allow for scene creation from arbitrary file formats.
 */
public interface SceneParser {
    /**
     * Parse the specified file to create a scene description into the provided
     * {@link SunflowAPI} object.
     * 
     * @param filename filename to parse
     * @param api scene to parse the file into
     * @return <code>true</code> upon sucess, or <code>false</code> if
     *         errors have occured.
     */
    public boolean parse(String filename, SunflowAPI api);
}

⌨️ 快捷键说明

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