Sha256: c85fd34018851276d9cf0a71117fc7f8c0e47b508bd9d1626aa61834e365090f
Contents?: true
Size: 846 Bytes
Versions: 2
Compression:
Stored size: 846 Bytes
Contents
package org.sunflow.core; /** * This interface represents an image sampling algorithm capable of rendering * the entire image. Implementations are responsible for anti-aliasing and * filtering. */ public interface ImageSampler { /** * Prepare the sampler for rendering an image of w x h pixels * * @param options * @param scene * @param w width of the image * @param h height of the image * @return */ public boolean prepare(Options options, Scene scene, int w, int h); /** * Render the image to the specified display. The sampler can assume the * display has been opened and that it will be closed after the method * returns. * * @param display Display driver to send image data to */ public void render(Display display); }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
joonsrenderer-1.3.1-java | src/main/java/org/sunflow/core/ImageSampler.java |
joonsrenderer-1.2.0-java | src/main/java/org/sunflow/core/ImageSampler.java |