Package se.llbit.j99.pp

Examples of se.llbit.j99.pp.PP.preprocess()


      ByteArrayOutputStream out = new ByteArrayOutputStream();

      PP pp = new PP();
      pp.define("AMBIENT_OCCLUSION", "AMBIENT_OCCLUSION");
      //pp.define("RNGTEST", "RNGTEST");
      if (pp.preprocess(resourceName, basePath, in, out, System.err)) {
        String kernel = new String(out.toByteArray());
        return kernel;
      }

    } catch (IOException e) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.