Constant Boolean Register
Microsoft DirectX 9.0 SDK Update (October 2004)

Constant Boolean Register


This register is a collection of bits used in static flow control instructions (for example, if bool - else - endif). There are 16 of them, therefore, a shader can have 16 independent branch conditions. They can be set using defb or IDirect3DDevice9::SetVertexShaderConstantI.

The behavior of shader constants has changed between Microsoft DirectX 8.0 and DirectX 9.0.



© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.