Microsoft DirectX 8.1 (Visual Basic)

Applying State Blocks

The Direct3DDevice8.ApplyStateBlock method applies an existing state block to the device. The ApplyStateBlock method accepts a single parameter, Token, that identifies the state block to apply.

Note  You cannot apply a state block while recording another state block—that is, between calls to Direct3DDevice8.BeginStateBlock and Direct3DDevice8.EndStateBlock. Attempts to do so will fail.