Custom clipping planes in SceneKit

Is it possible to use custom clipping in SceneKit? Meaning, can I somehow enable "GL_CLIP_DISTANCE0" and write to "gl_ClipDistance" in the fragment shader? Or do I have to provide my own renderer via the renderer delegate?