Win8 How to implement Fruit Ninja Blade Effect with DirectX

I check for the code implemention the blade effect,which is almost written with OpenGLES…I wonder that is there a demo code to implement the blade effect under the directX environment.= =!