Multiple Techniques

An effect file defines the techniques used. The basic layout of an effect file starts with one or more declarations and then defines each technique for that effect. This sample shows a basic effect file that contains two textures and two techniques.

Example

This effect file allows a device that doesn't support single pass rendering for two textures to use multiple passes to render the textures.