private void initOpenCL2() {
        //bind image to OpenCL
        texCL = clContext.bindImage(tex, MemoryAccess.WRITE_ONLY).register();
    }
This test class tests the capability to write to a GL texture from OpenCL.
Move the mouse around while pressing the left mouse key to modify the fractal.

In addition, this test shows how to use {@link ProgramCache}.

@author shaman
jme3-examples/src/main/java/jme3test/opencl/TestWriteToTexture.java