Graphics Reference
In-Depth Information
Figure 7.5. Immediate context state before, Figure 7.6. The two possible ways to handle the immedi-
during, and after the execution of a command ate context pipeline state after executing a command list.
list.
its pipeline state prior to executing a command list. It's current configuration reflects
any state change requests that were performed directly on the immediate context with its
SetXXX() methods. When a command list is executed on the immediate context, its pipe-
line state is replaced with the default pipeline state. This default state is the same state in
which the device was initially created. 3
There are two possible outcomes for the existing pipeline state that was originally
in the immediate context. Which one is chosen depends on a Boolean parameter passed to
the ExecuteCommandList() method. If the passed parameter is true, the original pipeline
state is stored until the command list has been executed, and is then restored to the immedi-
ate context. If the passed parameter is set to false, the original state is simply deleted, and
the immediate context is reset to the default state after the command list has been executed.
3 The individual values that comprise the default pipeline state are further described in the DXSDK documentation.
Search WWH ::




Custom Search