Effect Format (Direct3D 10)

An effect (which is often stored in a file with a .fx file extension) declares the pipeline state set by an effect. Effect state can be roughly broken down into three categories:

  • Variables, which are usually declared at the top of an effect.
  • Functions, which implement shader code, or are used as helper functions by other functions.
  • A technique, which implements rendering sequences using one or more effect passes. Each pass sets one or more state groups and calls shader functions.

Diagram of the categories of effect state

The preceding diagram shows the categories of effect state.

Related topics

Effect Reference