Package se.llbit.j99.pp

Examples of se.llbit.j99.pp.PP


        logger.warn("Could not load OpenCL kernel!");
        throw new Error("Could not load OpenCL kernel!");
      }
      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

Related Classes of se.llbit.j99.pp.PP

Copyright © 2018 www.massapicom. 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.