Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.

The preceding diagram shows the categories of effect state.
Related topics