Issue #167: switched out to use an enum in preparation for a rendertarget specific rendering of CCLayer.